/ Vijos /

记录详情

Compile Error

foo.cc:9:10: error: stray '\357' in program
     scanf("%d",&n);
          ^
foo.cc:9:11: error: stray '\274' in program
     scanf("%d",&n);
           ^
foo.cc:9:12: error: stray '\210' in program
     scanf("%d",&n);
            ^
foo.cc:9:20: error: stray '\357' in program
     scanf("%d",&n);
                    ^
foo.cc:9:21: error: stray '\274' in program
     scanf("%d",&n);
                     ^
foo.cc:9:22: error: stray '\211' in program
     scanf("%d",&n);
                      ^
foo.cc: In function 'int main()':
foo.cc:9:13: error: expected ';' before string constant
     scanf("%d",&n);
             ^~~~
foo.cc:9:23: warning: statement is a reference, not call, to function 'scanf' [-Waddress]
     scanf("%d",&n);
                       ^
foo.cc:9:23: warning: statement has no effect [-Wunused-value]
foo.cc:32:1: error: expected '}' at end of input
 }
 ^
foo.cc:12:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&a[i]);
         ~~~~~^~~~~~~~~~~~

信息

递交者
类型
递交
题目
P1153 猫狗大战
语言
C++
递交时间
2020-11-04 12:19:53
评测时间
2020-11-04 12:19:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes