/ Vijos /

记录详情

Compile Error

/in/foo.cc:5:12: error: stray '\357' in program
 int n,t,m,x,ans;
            ^
/in/foo.cc:5:13: error: stray '\274' in program
 int n,t,m,x,ans;
             ^
/in/foo.cc:5:14: error: stray '\214' in program
 int n,t,m,x,ans;
              ^
/in/foo.cc:5:15: error: expected initializer before 'ans'
 int n,t,m,x,ans;
               ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:24:21: error: 'ans' was not declared in this scope
                     ans--;
                     ^~~
/in/foo.cc:31:18: error: 'x' was not declared in this scope
             cin>>x;
                  ^
/in/foo.cc:37:17: error: 'ans' was not declared in this scope
                 ans++;
                 ^~~
/in/foo.cc:39:23: error: 'ans' was not declared in this scope
         printf("%d\n",ans);
                       ^~~

信息

递交者
类型
递交
题目
P2011 海港
语言
C++
递交时间
2024-03-08 22:29:50
评测时间
2024-03-08 22:29:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes