| Problem | thumper2 |
|---|---|
| User | fwaeh |
| Submission Time | 2026-03-12 15:18:10 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
thumper2.cpp:4:9: error: ‘pair’ does not name a type
4 | typedef pair<int,int> pi;
| ^~~~
thumper2.cpp:6:1: error: ‘pi’ does not name a type
6 | pi rowcol_to_URDR(int r, int c){
| ^~
thumper2.cpp:10:1: error: ‘pi’ does not name a type
10 | pi URDR_to_rowcol(int u, int d){
| ^~
thumper2.cpp:16:1: error: ‘vector’ does not name a type
16 | vector<pi> UR, DR;
| ^~~~~~
thumper2.cpp:18:19: error: variable or field ‘count_thumps’ declared void
18 | void count_thumps(vector<pi> sorted_diag, int diag[], int sig = 1){
| ^~~~~~
thumper2.cpp:18:19: error: ‘vector’ was not declared in this scope
thumper2.cpp:18:26: error: ‘pi’ was not declared in this scope
18 | void count_thumps(vector<pi> sorted_diag, int diag[], int sig = 1){
| ^~
thumper2.cpp:18:30: error: ‘sorted_diag’ was not declared in this scope
18