1 2 3 4 5 ··· 24 下一页
摘要: for (int i = 1; i <= 9; i++) { for (int j = 1; j <= i; j++) { printf("%d ✖️ %d = %d\t",j, i, i * j); } printf("\n"); } 阅读全文
posted @ 2026-09-27 18:51 Coca-code 阅读(2) 评论(0) 推荐(0)
摘要: //例一int main() { int n = 256; do { printf("%d\n", n); n = n / 2; } while (n >= 1 && n % 2 == 0); return 0; }//方法二 int main() { int n = 199; for (int i 阅读全文
posted @ 2026-09-26 18:06 Coca-code 阅读(2) 评论(0) 推荐(0)
摘要: int main() { int dail_num; printf("请出入: \n"); scanf("%d",&dail_num); switch (dail_num){ case 1: case 2: case 12: printf("冬季 \n"); break; case 3: case 阅读全文
posted @ 2026-09-25 19:52 Coca-code 阅读(3) 评论(0) 推荐(0)
摘要: #include <iostream> #include <stdio.h> #include <cmath> int main() { int score; scanf("%d", &score); if (score <= 0) { printf("评分为D。\n"); } else if (s 阅读全文
posted @ 2026-09-24 16:14 Coca-code 阅读(6) 评论(0) 推荐(0)
摘要: // 内核中的 file 结构体(简化版) struct file { struct file_operations *f_op; // 函数指针表 void *private_data; // 具体设备数据 int f_flags; loff_t f_pos; }; // 每种设备实现这些操作 s 阅读全文
posted @ 2026-09-14 21:34 Coca-code 阅读(5) 评论(0) 推荐(0)
摘要: #include <math.h> #include <stddef.h> #include <stdint.h> #define SPEED_OF_LIGHT_M_S 299792458.0 typedef struct { double freq_hz; /* tone frequency fo 阅读全文
posted @ 2026-08-05 11:35 Coca-code 阅读(7) 评论(0) 推荐(0)
摘要: 状态: 未创建态 就绪态 (Ready) 运行态 (Running) 延时态 (Blocked/Delayed) 挂起态 (Suspended) 事件 (Event waiting) 关键转换: a: 创建 → 就绪 b: 就绪 → 运行 (优先级最高) c: 运行 → 就绪 (被抢占) d: 运行 阅读全文
posted @ 2026-03-17 19:07 Coca-code 阅读(16) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>CSS九宫格布局 阅读全文
posted @ 2026-03-16 23:01 Coca-code 阅读(32) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>CSS九宫格布局 阅读全文
posted @ 2026-03-16 22:18 Coca-code 阅读(18) 评论(0) 推荐(0)
摘要: let mapBounds = {}; const imageWidth = 800, imageHeight = 600; let targets = []; // Array of moving targets function init(coordinate_lt, coordinate_rb 阅读全文
posted @ 2025-03-27 15:48 Coca-code 阅读(38) 评论(0) 推荐(0)
1 2 3 4 5 ··· 24 下一页