Problem swords
User cprime
Submission Time 2025-01-07 13:40:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int32_t main()’:
swords.cpp:3:15: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘ff’
3 | #define first ff
| ^~
swords.cpp:12:12: note: in expansion of macro ‘first’
12 | cin >> x.first >> x.second;
| ^~~~~
swords.cpp:4:16: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘ss’
4 | #define second ss
| ^~
swords.cpp:12:23: note: in expansion of macro ‘second’
12 | cin >> x.first >> x.second;
| ^~~~~~
swords.cpp:3:15: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘ff’
3 | #define first ff
| ^~
swords.cpp:13:8: note: in expansion of macro ‘first’
13 | if(x.first >= x.second) ++ans;
| ^~~~~
swords.cpp:4:16: error: ‘struct std::pair<lon