Problem flipcards
User vs358
Submission Time 2024-06-04 11:24:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flipcards.cpp: In function ‘int main()’:
flipcards.cpp:49:16: error: ‘b’ was not declared in this scope
49 | cin >> b[i].first >> b[i].second;
| ^
flipcards.cpp:51:16: error: ‘LLONG_MAX’ was not declared in this scope
51 | int ziqi = LLONG_MAX, zixi = 0;
| ^~~~~~~~~
flipcards.cpp:10:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
9 | #include <map>
+++ |+#include <climits>
10 |
flipcards.cpp:52:18: error: ‘zixi’ was not declared in this scope; did you mean ‘ziqi’?
52 | while(ziqi - zixi > 1){
| ^~~~
| ziqi
flipcards.cpp:57:13: error: ‘zixi’ was not declared in this scope; did you mean ‘ziqi’?
57 | cout << zixi << endl;
| ^~~~
| ziqi