01 2023 档案
摘要:P1002 [NOIP2002 普及组] 过河卒 #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int Horse_y[8] = { 2, 1, -1, -2, -2, -1, 1, 2 }; int
阅读全文
摘要:``` #include #include #include #include #include #define ONE 1 #define FIFTEEN 15 #define SEVENTY_NINE 79 int main() { printf("One byte = %d bits on t
阅读全文
摘要:选择数据类型并输入数字,输出在内存上对应的十六进制表示 #include <stdio.h> #include <stdlib.h> #include <ctype.h> typedef unsigned char* byte_pointer; void char_out(); void unsig
阅读全文
摘要:P1012 [NOIP1998 提高组] 拼数 #include <stdio.h> #include <stdlib.h> #include <string.h> #define LENGTH 11 int minn(int a, int b) { return a < b ? a : b; }
阅读全文