摘要:
test1 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 void test1() { 5 int x[N] = {1, 9, 8, 4}; 6 int i; 7 // 输出数组x占用的内存字节数 8 printf("sizeof(x) = % 阅读全文
摘要:
1 #include <stdio.h> 2 char score_to_grade(int score); 3 int main(){ 4 int score; 5 char grade; 6 while(scanf("%d",&score)!=EOF){ 7 grade=score_to_gra 阅读全文
摘要:
1 #include<stdio.h> 2 #include<math.h> 3 int main() { 4 double a, b, c; 5 double delta, p1, p2; 6 while(scanf("%lf%lf%lf", &a, &b, &c) != EOF) { 7 if( 阅读全文