Problem solonim
User gsayson
Submission Time 2025-03-26 15:53:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

solonim.cpp:4:9: error: ‘ll’ does not name a type
4 | typedef ll long long;
| ^~
solonim.cpp: In function ‘int main()’:
solonim.cpp:7:2: error: ‘ll’ was not declared in this scope
7 | ll x;
| ^~
solonim.cpp:8:9: error: ‘x’ was not declared in this scope
8 | cin >> x;
| ^
solonim.cpp:9:4: error: expected ‘;’ before ‘a’
9 | ll a = 0;
| ^~
| ;
solonim.cpp:10:6: error: ‘i’ was not declared in this scope
10 | for(i = 0; i < x, i++) {
| ^
solonim.cpp:10:23: error: expected ‘;’ before ‘)’ token
10 | for(i = 0; i < x, i++) {
| ^
| ;
solonim.cpp:11:5: error: expected ‘;’ before ‘b’
11 | ll b; cin >> b;
| ^~
| ;
solonim.cpp:11:16: error: ‘b’ was not declared in this scope
11 | ll b; cin >> b;
| ^