Problem logs
User yc
Submission Time 2025-06-03 09:59:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

logs.cpp: In function ‘int main()’:
logs.cpp:13:32: error: request for member ‘first’ in ‘x[0].std::pair<int, int>::second’, which is of non-class type ‘int’
13 | x[0] = make_pair(x[0].second.first,x[0].second.second+1);
| ^~~~~
logs.cpp:13:50: error: request for member ‘second’ in ‘x[0].std::pair<int, int>::second’, which is of non-class type ‘int’
13 | x[0] = make_pair(x[0].second.first,x[0].second.second+1);
| ^~~~~~