| Problem | ljubomora |
|---|---|
| User | cheryltkx |
| Submission Time | 2026-07-18 11:01:48 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ljubomora.cpp: In function ‘int main()’:
ljubomora.cpp:2:13: error: ‘longlong’ was not declared in this scope
2 | #define int longlong
| ^~~~~~~~
ljubomora.cpp:5:2: note: in expansion of macro ‘int’
5 | int N,M;
| ^~~
ljubomora.cpp:6:7: error: ‘N’ was not declared in this scope
6 | cin>>N>>M;
| ^
ljubomora.cpp:6:10: error: ‘M’ was not declared in this scope
6 | cin>>N>>M;
| ^
ljubomora.cpp:7:6: error: expected ‘;’ before ‘C’
7 | int C[M];
| ^
ljubomora.cpp:8:10: error: expected ‘;’ before ‘i’
8 | for(int i=0;i<M;i++)cin>>C[N];
| ^
ljubomora.cpp:8:14: error: ‘i’ was not declared in this scope
8 | for(int i=0;i<M;i++)cin>>C[N];
| ^
ljubomora.cpp:8:27: error: ‘C’ was not declared in this scope
8 | for(int i=0;i<M;i++)cin>>C[N];