/ Vijos /

记录详情

Compile Error

foo.cc:8:10: error: stray '\357' in program
     scanf(“%d”,&n);
          ^
foo.cc:8:11: error: stray '\274' in program
     scanf(“%d”,&n);
           ^
foo.cc:8:12: error: stray '\210' in program
     scanf(“%d”,&n);
            ^
foo.cc:8:13: error: stray '\342' in program
     scanf(“%d”,&n);
             ^
foo.cc:8:14: error: stray '\200' in program
     scanf(“%d”,&n);
              ^
foo.cc:8:15: error: stray '\234' in program
     scanf(“%d”,&n);
               ^
foo.cc:8:18: error: stray '\342' in program
     scanf(“%d”,&n);
                  ^
foo.cc:8:19: error: stray '\200' in program
     scanf(“%d”,&n);
                   ^
foo.cc:8:20: error: stray '\235' in program
     scanf(“%d”,&n);
                    ^
foo.cc:8:24: error: stray '\357' in program
     scanf(“%d”,&n);
                        ^
foo.cc:8:25: error: stray '\274' in program
     scanf(“%d”,&n);
                         ^
foo.cc:8:26: error: stray '\211' in program
     scanf(“%d”,&n);
                          ^
foo.cc: In function 'int main()':
foo.cc:8:17: error: 'd' was not declared in this scope
     scanf(“%d”,&n);
                 ^
foo.cc:8:17: note: suggested alternative: 'dp'
     scanf(“%d”,&n);
                 ^
                 dp
foo.cc:31:1: error: expected '}' at end of input
 }
 ^
foo.cc:11: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:08
评测时间
2020-11-04 12:19:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes