记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:7: error: stray '\357' in program
  scanf("%d %d",&a,&n);
       ^
/in/foo.c:6:8: error: stray '\274' in program
  scanf("%d %d",&a,&n);
        ^
/in/foo.c:6:9: error: stray '\210' in program
  scanf("%d %d",&a,&n);
         ^
/in/foo.c:6:2: warning: statement with no effect [-Wunused-value]
  scanf("%d %d",&a,&n);
  ^~~~~
/in/foo.c:6:10: error: expected ';' before string constant
  scanf("%d %d",&a,&n);
          ^~~~~~~
/in/foo.c:6:23: error: expected statement before ')' token
  scanf("%d %d",&a,&n);
                       ^
/in/foo.c:5:11: warning: unused variable 'n' [-Wunused-variable]
     int a,n,i=1,Sn=0,tn=0;
           ^

信息

递交者
类型
自测
语言
C
递交时间
2024-11-23 09:08:23
评测时间
2024-11-23 09:08:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes