Problem | modulochain |
---|---|
User | Ush |
Submission Time | 2024-12-04 15:54:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
modulochain.cpp: In function ‘int main()’:
modulochain.cpp:3:13: error: expected ‘,’ or ‘;’ before ‘long’
3 | #define int long long
| ^~~~
modulochain.cpp:10:2: note: in expansion of macro ‘int’
10 | int a[N];
| ^~~
modulochain.cpp:15:7: error: ‘a’ was not declared in this scope
15 | cin>>a[i];
| ^
modulochain.cpp:18:5: error: ‘a’ was not declared in this scope
18 | b+=a[j];
| ^
modulochain.cpp:22:8: error: ‘a’ was not declared in this scope
22 | int c=a[0]*a[N-1];
| ^
modulochain.cpp:25:13: error: expected primary-expression before ‘;’ token
25 | for (int j=; j<N-1;j++){
| ^