Problem | oranges2 |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-06 12:44:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
oranges2.cpp: In function ‘int main()’:
oranges2.cpp:66:31: error: cannot convert ‘std::pair<long int, long int>’ to ‘long int’
66 | if (gconnect(num.first, num.second)){
| ~~~~^~~~~~
| |
| std::pair<long int, long int>
oranges2.cpp:21:24: note: initializing argument 2 of ‘bool gconnect(long int, long int)’
21 | bool gconnect(ll a, ll b) {
| ^