Problem | askonegetonefree |
---|---|
User | ChickenCoder |
Submission Time | 2024-02-02 12:41:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
askonegetonefree.cpp: In function ‘Answer guess(int)’:
askonegetonefree.cpp:9:2: error: ‘pair’ was not declared in this scope
9 | pair<int, int> x = {0, N-1}, y = {0, N-1};
| ^~~~
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:9:7: error: expected primary-expression before ‘int’
9 | pair<int, int> x = {0, N-1}, y = {0, N-1};
| ^~~
askonegetonefree.cpp:9:29: error: expected primary-expression before ‘,’ token
9 | pair<int, int> x = {0, N-1}, y = {0, N-1};
| ^
askonegetonefree.cpp:9:31: error: ‘y’ was not declared in this scope
9 | pair<int, int> x = {0, N-1}, y = {0, N-1};
| ^
askonegetonefree.cpp:11:8: er