Problem | nerdinvitation |
---|---|
User | RogueRanger |
Submission Time | 2024-08-01 16:08:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nerdinvitation.cpp: In function ‘int32_t main()’:
nerdinvitation.cpp:13:16: error: assignment of read-only location ‘*(v + ((sizetype)i))’
13 | v[i][0]=x;
| ~~~~~~~^~
nerdinvitation.cpp:14:16: error: assignment of read-only location ‘*(v + (((sizetype)i) + 1))’
14 | v[i][1]=y;
| ~~~~~~~^~
nerdinvitation.cpp:20:31: error: invalid operands of types ‘long long int’ and ‘std::vector<std::vector<long long int> >()’ to binary ‘operator-’
20 | temp = min(temp, abs(m-v[i][1]+v[i][0]));
| ~^~~~~~~~
| | |
| | std::vector<std::vector<long long int> >()
| long long int