Problem photo
User om2024
Submission Time 2025-01-16 17:45:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

photo.cpp: In function ‘int main()’:
photo.cpp:21:27: error: expression cannot be used as a function
21 | if (check[vec[r].second()] == 0) {
| ^
photo.cpp:24:23: error: expression cannot be used as a function
24 | check[vec[r].second()] +=1;
| ^