Problem | combo |
---|---|
User | chenweilian |
Submission Time | 2023-03-18 09:22:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
combo.cpp: In function ‘std::string guess_sequence(int)’:
combo.cpp:74:11: error: ‘M’ was not declared in this scope
74 | int idx[M];
| ^
combo.cpp:75:15: error: ‘idx’ was not declared in this scope; did you mean ‘index’?
75 | REP(i, M) { idx[i] = i; }
| ^~~
| index
combo.cpp:82:10: error: ‘idx’ was not declared in this scope; did you mean ‘id’?
82 | swap(idx[id], idx[M-1]);
| ^~~
| id
combo.cpp:89:20: error: ‘idx’ was not declared in this scope; did you mean ‘index’?
89 | z += s + LET[idx[0]] + LET[idx[j]];
| ^~~
| index
combo.cpp:91:18: error: ‘idx’ was not declared in this scope; did you mean ‘index’?
91 | z += s + LET[idx[1]];
| ^~~
| index