/ Vijos /

记录详情

Compile Error

/in/foo.cc:3:1: error: 'lonbg' does not name a type; did you mean 'long'?
    3 | lonbg long ans=0,n;
      | ^~~~~
      | long
/in/foo.cc: In function 'int main()':
/in/foo.cc:5:10: error: 'n' was not declared in this scope; did you mean 'yn'?
    5 |     cin>>n;
      |          ^
      |          yn
/in/foo.cc:9:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |         ans^=a;
      |         ^~~
      |         abs
/in/foo.cc:11:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
   11 |     cout<<ans;
      |           ^~~
      |           abs

信息

递交者
类型
递交
题目
P1684 丢失的筷子
语言
C++
递交时间
2025-02-06 21:09:38
评测时间
2025-02-06 21:09:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes