Borderou de evaluare (job #3376129)
| Utilizator | Data | 16 noiembrie 2026 11:22:18 | |
|---|---|---|---|
| Problema | Swap | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:59:21: error: too few arguments to function 'int query(int)'
59 | ans -= query();
| ~~~~~^~
main.cpp:14:5: note: declared here
14 | int query(int p){
| ^~~~~
main.cpp:60:15: error: too few arguments to function 'void update(int, int)'
60 | update();
| ~~~~~~^~
main.cpp:22:6: note: declared here
22 | void update(int p, int val){
| ^~~~~~
main.cpp:56:13: warning: unused variable 'p' [-Wunused-variable]
56 | int p = poz[s2[i-1] - 'a' + 1].front();
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
