Problem | lamps |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-01 07:54:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lamps.cpp: In function ‘int32_t main()’:
lamps.cpp:63:21: error: expected ‘;’ before ‘c’
63 | type.resize(k+1, 0)
| ^
| ;
64 | c.resize(k+1, vector<int>(2, 0));
| ~
lamps.cpp:25:12: error: request for member ‘second’ in ‘fp(a)’, which is of non-class type ‘long long int’
25 | #define se second
| ^~~~~~
lamps.cpp:74:15: note: in expansion of macro ‘se’
74 | c[a][fp(a).se^vect[i]]=INT_MAX;
| ^~