Problem photo
User Memeathon
Submission Time 2025-02-07 16:22:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

photo.cpp:3:9: error: macro names must be identifiers
3 | #define 123456789123456789
| ^~~~~~~~~~~~~~~~~~
photo.cpp:8:29: error: ‘i’ was not declared in this scope
8 | ll n, s, a[maxn][maxn], ptr[i], mx, ans=INF;
| ^
photo.cpp:8:41: error: ‘INF’ was not declared in this scope
8 | ll n, s, a[maxn][maxn], ptr[i], mx, ans=INF;
| ^~~
photo.cpp: In function ‘int main()’:
photo.cpp:24:7: error: ‘ptr’ was not declared in this scope
24 | if (ptr[i]==s-1)break;
| ^~~
photo.cpp:25:5: error: ‘ptr’ was not declared in this scope
25 | ++ptr[i];
| ^~~