Problem solonim
User BoneMeBurner
Submission Time 2024-07-24 09:48:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

solonim.cpp: In function ‘int main()’:
solonim.cpp:4:9: error: expected primary-expression before ‘long’
4 | cin >> long long n;
| ^~~~
solonim.cpp:6:28: error: ‘n’ was not declared in this scope
6 | for (long long i = 0; i < n; i++){
| ^
solonim.cpp:7:10: error: expected primary-expression before ‘long’
7 | cin >> long long TEMP;
| ^~~~
solonim.cpp:8:10: error: ‘TEMP’ was not declared in this scope
8 | sum += TEMP;
| ^~~~