Borderou de evaluare (job #3303370)
| Utilizator | Data | 15 iulie 2025 12:43:51 | |
|---|---|---|---|
| Problema | Sir3 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void build(long long int, long long int, long long int, long long int)':
main.cpp:19:21: error: 'f' was not declared in this scope
19 | st[id][c] = f[a[l]];
| ^
main.cpp:24:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
24 | ll mid = l + r >> 1;
| ~~^~~
main.cpp: In function 'long long int get(long long int, long long int, long long int, long long int, long long int, long long int)':
main.cpp:41:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
41 | ll mid = l + r >> 1;
| ~~^~~
main.cpp: In function 'int main()':
main.cpp:67:9: error: 'f' was not declared in this scope
67 | f[a[i]] = i;
| ^
main.cpp:75:17: error: 'f' was not declared in this scope
75 | ll vt = f[s - a[i]];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
