| Problem | thumper2 |
|---|---|
| User | TK |
| Submission Time | 2025-11-24 23:11:13 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
thumper2.cpp: In function ‘void count_displacement(std::vector<std::pair<long long int, int> >&, long long int*, int, bool)’:
thumper2.cpp:33:9: error: ‘ll’ was not declared in this scope
33 | ll dnum = sorted_diag[pt].first;
| ^~
thumper2.cpp:34:11: error: expected ‘;’ before ‘cur_thumps’
34 | ll cur_thumps = 0;
| ^~~~~~~~~~~
| ;
thumper2.cpp:36:43: error: ‘dnum’ was not declared in this scope; did you mean ‘enum’?
36 | while (pt < sorted_diag.size() && dnum == sorted_diag[pt].first){
| ^~~~
| enum
thumper2.cpp:66:13: error: ‘cur_thumps’ was not declared in this scope
66 | cur_thumps += thump_counter[idx];
| ^~~~~~~~~~
thumper2.cpp:69:26: error: ‘cur_thumps’ was not declared in this scope
69 | thumps_behind