Problem | lemmas |
---|---|
User | YSH2020 |
Submission Time | 2023-08-05 16:42:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lemmas.cpp: In function ‘int main()’:
lemmas.cpp:7:5: error: ‘lo’ was not declared in this scope; did you mean ‘log’?
7 | lo;ng long m[num]; for (int i = 0; i < num; i++) cin >> m[i];
| ^~
| log
lemmas.cpp:7:8: error: ‘ng’ was not declared in this scope
7 | lo;ng long m[num]; for (int i = 0; i < num; i++) cin >> m[i];
| ^~
lemmas.cpp:7:61: error: ‘m’ was not declared in this scope
7 | lo;ng long m[num]; for (int i = 0; i < num; i++) cin >> m[i];
| ^
lemmas.cpp:10:47: error: ‘m’ was not declared in this scope
10 | if (lemmas[p[i]] == 0) lemmas[p[i]] = m[i];
| ^
lemmas.cpp:11:33: error: ‘m’ was not declared in this scope
11 | else lemmas[p[i]] = min(m[i], lemmas[p[i]]);
| ^