/ 晓编程 /

记录详情

Compile Error

/in/foo.c:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>
         ^
/in/foo.c:2:4: error: stray '\302' in program
 int main()
    ^
/in/foo.c:2:5: error: stray '\240' in program
 int main()
     ^
/in/foo.c: In function 'main':
/in/foo.c:4:1: error: stray '\302' in program
     int a;
 ^
/in/foo.c:4:2: error: stray '\240' in program
     int a;
  ^
/in/foo.c:4:3: error: stray '\302' in program
     int a;
   ^
/in/foo.c:4:4: error: stray '\240' in program
     int a;
    ^
/in/foo.c:4:5: error: stray '\302' in program
     int a;
     ^
/in/foo.c:4:6: error: stray '\240' in program
     int a;
      ^
/in/foo.c:4:7: error: stray '\302' in program
     int a;
       ^
/in/foo.c:4:8: error: stray '\240' in program
     int a;
        ^
/in/foo.c:4:12: error: stray '\302' in program
     int a;
            ^
/in/foo.c:4:13: error: stray '\240' in program
     int a;
             ^
/in/foo.c:5:1: error: stray '\302' in program
     scanf("%d",&a);//输入a
 ^
/in/foo.c:5:2: error: stray '\240' in program
     scanf("%d",&a);//输入a
  ^
/in/foo.c:5:3: error: stray '\302' in program
     scanf("%d",&a);//输入a
   ^
/in/foo.c:5:4: error: stray '\240' in program
     scanf("%d",&a);//输入a
    ^
/in/foo.c:5:5: error: stray '\302' in program
     scanf("%d",&a);//输入a
     ^
/in/foo.c:5:6: error: stray '\240' in program
     scanf("%d",&a);//输入a
      ^
/in/foo.c:5:7: error: stray '\302' in program
     scanf("%d",&a);//输入a
       ^
/in/foo.c:5:8: error: stray '\240' in program
     scanf("%d",&a);//输入a
        ^
/in/foo.c:5:9: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
     scanf("%d",&a);//输入a
         ^~~~~
/in/foo.c:5:9: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:5:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:6:1: error: stray '\302' in program
     switch(a)
 ^
/in/foo.c:6:2: error: stray '\240' in program
     switch(a)
  ^
/in/foo.c:6:3: error: stray '\302' in program
     switch(a)
   ^
/in/foo.c:6:4: error: stray '\240' in program
     switch(a)
    ^
/in/foo.c:6:5: error: stray '\302' in program
     switch(a)
     ^
/in/foo.c:6:6: error: stray '\240' in program
     switch(a)
      ^
/in/foo.c:6:7: error: stray '\302' in program
     switch(a)
       ^
/in/foo.c:6:8: error: stray '\240' in program
     switch(a)
        ^
/in/foo.c:7:1: error: stray '\302' in program
     {
 ^
/in/foo.c:7:2: error: stray '\240' in program
     {
  ^
/in/foo.c:7:3: error: stray '\302' in program
     {
   ^
/in/foo.c:7:4: error: stray '\240' in program
     {
    ^
/in/foo.c:7:5: error: stray '\302' in program
     {
     ^
/in/foo.c:7:6: error: stray '\240' in program
     {
      ^
/in/foo.c:7:7: error: stray '\302' in program
     {
       ^
/in/foo.c:7:8: error: stray '\240' in program
     {
        ^
/in/foo.c:8:1: error: stray '\302' in program
         case 1:
 ^
/in/foo.c:8:2: error: stray '\240' in program
         case 1:
  ^
/in/foo.c:8:3: error: stray '\302' in program
         case 1:
   ^
/in/foo.c:8:4: error: stray '\240' in program
         case 1:
    ^
/in/foo.c:8:5: error: stray '\302' in program
         case 1:
     ^
/in/foo.c:8:6: error: stray '\240' in program
         case 1:
      ^
/in/foo.c:8:7: error: stray '\302' in program
         case 1:
       ^
/in/foo.c:8:8: error: stray '\240' in program
         case 1:
        ^
/in/foo.c:8:9: error: stray '\302' in program
         case 1:
         ^
/in/foo.c:8:10: error: stray '\240' in program
         case 1:
          ^
/in/foo.c:8:11: error: stray '\302' in program
         case 1:
           ^
/in/foo.c:8:12: error: stray '\240' in program
         case 1:
            ^
/in/foo.c:8:13: error: stray '\302' in program
         case 1:
             ^
/in/foo.c:8:14: error: stray '\240' in program
         case 1:
              ^
/in/foo.c:8:15: error: stray '\302' in program
         case 1:
               ^
/in/foo.c:8:16: error: stray '\240' in program
         case 1:
                ^
/in/foo.c:8:21: error: stray '\302' in program
         case 1:
                     ^
/in/foo.c:8:22: error: stray '\240' in program
         case 1:
                      ^
/in/foo.c:9:1: error: stray '\302' in program
             printf("星期一\n");
 ^
/in/foo.c:9:2: error: stray '\240' in program
             printf("星期一\n");
  ^
/in/foo.c:9:3: error: stray '\302' in program
             printf("星期一\n");
   ^
/in/foo.c:9:4: error: stray '\240' in program
             printf("星期一\n");
    ^
/in/foo.c:9:5: error: stray '\302' in program
             printf("星期一\n");
     ^
/in/foo.c:9:6: error: stray '\240' in program
             printf("星期一\n");
      ^
/in/foo.c:9:7: error: stray '\302' in program
             printf("星期一\n");
       ^
/in/foo.c:9:8: error: stray '\240' in program
             printf("星期一\n");
        ^
/in/foo.c:9:9: error: stray '\302' in program
             printf("星期一\n");
         ^
/in/foo.c:9:10: error: stray '\240' in program
             printf("星期一\n");
          ^
/in/foo.c:9:11: error: stray '\302' in program
             printf("星期一\n");
           ^
/in/foo.c:9:12: error: stray '\240' in program
             printf("星期一\n");
            ^
/in/foo.c:9:13: error: stray '\302' in program
             printf("星期一\n");
             ^
/in/foo.c:9:14: error: stray '\240' in program
             printf("星期一\n");
              ^
/in/foo.c:9:15: error: stray '\302' in program
             printf("星期一\n");
               ^
/in/foo.c:9:16: error: stray '\240' in program
             printf("星期一\n");
                ^
/in/foo.c:9:17: error: stray '\302' in program
             printf("星期一\n");
                 ^
/in/foo.c:9:18: error: stray '\240' in program
             printf("星期一\n");
                  ^
/in/foo.c:9:19: error: stray '\302' in program
             printf("星期一\n");
                   ^
/in/foo.c:9:20: error: stray '\240' in program
             printf("星期一\n");
                    ^
/in/foo.c:9:21: error: stray '\302' in program
             printf("星期一\n");
                     ^
/in/foo.c:9:22: error: stray '\240' in program
             printf("星期一\n");
                      ^
/in/foo.c:9:23: error: stray '\302' in program
             printf("星期一\n");
                       ^
/in/foo.c:9:24: error: stray '\240' in program
             printf("星期一\n");
                        ^
/in/foo.c:9:25: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
             printf("星期一\n");
                         ^~~~~~
/in/foo.c:9:25: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:9:25: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:10:1: error: stray '\302' in program
             break;
 ^
/in/foo.c:10:2: error: stray '\240' in program
             break;
  ^
/in/foo.c:10:3: error: stray '\302' in program
             break;
   ^
/in/foo.c:10:4: error: stray '\240' in program
             break;
    ^
/in/foo.c:10:5: error: stray '\302' in program
             break;
     ^
/in/foo.c:10:6: error: stray '\240' in program
             break;
      ^
/in/foo.c:10:7: error: stray '\302' in program
    �

信息

递交者
类型
递交
题目
P1029 星期转换
语言
C
递交时间
2020-11-07 18:28:50
评测时间
2020-11-07 18:28:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes