Problem nian
User justin271828
Submission Time 2026-03-08 22:40:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nian.cpp: In function ‘int main()’:
nian.cpp:41:7: error: ‘class std::set<int>’ has no member named ‘push_back’
41 | len.push_back(p.f);
| ^~~~~~~~~
nian.cpp:45:23: error: expected ‘}’ at end of input
45 | set<int>::iterator it;
| ^
nian.cpp:17:12: note: to match this ‘{’
17 | int main() {
| ^