记录详情

Compile Error

foo.cc: In function 'void test()':
foo.cc:2:12: error: 'longlong' was not declared in this scope
    2 | #define ll longlong
      |            ^~~~~~~~
foo.cc:7:9: note: in expansion of macro 'll'
    7 |         ll n;cin>>n;
      |         ^~
foo.cc:7:19: error: 'n' was not declared in this scope
    7 |         ll n;cin>>n;
      |                   ^
foo.cc:8:12: error: expected ';' before 'x'
    8 |         ll x=0;
      |            ^
foo.cc:11:20: error: expected ';' before 's'
   11 |                 ll s;cin>>s;
      |                    ^
foo.cc:11:27: error: 's' was not declared in this scope
   11 |                 ll s;cin>>s;
      |                           ^
foo.cc:12:17: error: 'x' was not declared in this scope
   12 |                 x+=s;
      |                 ^
foo.cc:14:12: error: 'x' was not declared in this scope
   14 |         if(x%2==0)cout<<"Yes"<<endl;
      |            ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1433 3-1 签到题
语言
C++
递交时间
2023-07-06 09:19:30
评测时间
2023-07-06 09:19:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes