| Problem | fractions |
|---|---|
| User | nminhnguyenle |
| Submission Time | 2025-10-21 21:58:09 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fractions.cpp: In function ‘int main()’:
fractions.cpp:19:24: error: expected ‘;’ before ‘}’ token
19 | vec[i].second=i
| ^
| ;
20 | }
| ~
fractions.cpp:6:18: error: ‘long long’ specified with ‘std::pair<long long int, long long int>’
6 | #define int long long
| ^~~~
fractions.cpp:21:53: note: in expansion of macro ‘int’
21 | sort(vec.begin(),vec.end(),[](pair<pair<int,int>int> ap,pair<pair<int,int>,int> bp)
| ^~~
fractions.cpp:21:56: error: wrong number of template arguments (1, should be 2)
21 | sort(vec.begin(),vec.end(),[](pair<pair<int,int>int> ap,pair<pair<int,int>,int> bp)
| ^
In file included from /usr/include/c++/9/b