Problem | askonegetonefree |
---|---|
User | Lukameladze |
Submission Time | 2024-06-20 14:19:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
askonegetonefree.cpp: In function ‘Answer guess(int)’:
askonegetonefree.cpp:29:5: error: ‘pair’ was not declared in this scope
29 | pair <pair <int, int>, pair <int, int> > ans = {
| ^~~~
askonegetonefree.cpp:3:1: note: ‘std::pair’ is defined in header ‘<utility>’; did you forget to ‘#include <utility>’?
2 | #include "askonegetonefree.h"
+++ |+#include <utility>
3 | using namespace std;
askonegetonefree.cpp:29:17: error: expected primary-expression before ‘int’
29 | pair <pair <int, int>, pair <int, int> > ans = {
| ^~~
askonegetonefree.cpp:34:14: error: ‘ans’ was not declared in this scope
34 | while (!(ans.first.first == ans.first.second && ans.second.first == ans.second.second)) {
| ^~~
askonegetonefree.cpp:36:9: error: expected ‘,’ or ‘;’ before ‘if’
36 | if (ans.first.first != ans.first.secon