Problem eating
User PlayVoltz
Submission Time 2023-07-26 10:03:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eating.cpp: In function ‘int main()’:
eating.cpp:11:9: error: conflicting declaration ‘std::string a’
11 | string a, b;
| ^
eating.cpp:10:8: note: previous declaration as ‘long long unsigned int a’
10 | ll n, a, b, psize;
| ^
eating.cpp:11:12: error: conflicting declaration ‘std::string b’
11 | string a, b;
| ^
eating.cpp:10:11: note: previous declaration as ‘long long unsigned int b’
10 | ll n, a, b, psize;
| ^
eating.cpp:17:30: error: no matching function for call to ‘std::set<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >::insert(std::pair<long long unsigned int, long long unsigned int>)’
17 | vect.insert(make_pair(a, b));
| ^
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,