Problem catlunch
User Dejitansuki
Submission Time 2023-04-24 20:19:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:4:5: error: ‘ios_base’ has not been declared
4 | ios_base::sync_with_stdio(false),cin.tie(0);
| ^~~~~~~~
catlunch.cpp:4:38: error: ‘cin’ was not declared in this scope
4 | ios_base::sync_with_stdio(false),cin.tie(0);
| ^~~
catlunch.cpp:6:5: error: ‘ll’ was not declared in this scope
6 | ll n, k;
| ^~
catlunch.cpp:7:12: error: ‘n’ was not declared in this scope
7 | cin >> n >> k;
| ^
catlunch.cpp:7:17: error: ‘k’ was not declared in this scope
7 | cin >> n >> k;
| ^
catlunch.cpp:8:7: error: expected ‘;’ before ‘t’
8 | ll t;
| ^~
| ;
catlunch.cpp:10:7: error: expected ‘;’ before ‘max_taste’
10 | ll max_taste = 0LL, taste = 0LL;
| ^~~~~~~~~~
|