Problem | chunlian |
---|---|
User | YTj |
Submission Time | 2025-02-15 20:31:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
chunlian.cpp:3:1: error: specializing member ‘std::basic_ios<char>::sync_with_stdio’ requires ‘template<>’ syntax
3 | ios::sync_with_stdio(false); cin.tie(nullptr); // cout.tie(nullptr)
| ^~~
chunlian.cpp:3:30: error: ‘cin’ does not name a type; did you mean ‘sin’?
3 | ios::sync_with_stdio(false); cin.tie(nullptr); // cout.tie(nullptr)
| ^~~
| sin
chunlian.cpp: In function ‘int main()’:
chunlian.cpp:20:38: error: no match for ‘operator=’ (operand types are ‘std::_Rb_tree_const_iterator<std::pair<int, int> >’ and ‘std::pair<std::_Rb_tree_const_iterator<std::pair<int, int> >, bool>’)
20 | arr[i].second = picked.insert(tpair);
| ^
In file included from /usr/include/c++/9/map:60,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from chun