Borderou de evaluare (job #3366690)
| Utilizator | Data | 3 octombrie 2026 15:52:07 | |
|---|---|---|---|
| Problema | Secvxor | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void read_input(int&, int&)':
main.cpp:52:20: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
52 | fastRead(x.first);
| ~~^~~~~
main.cpp:7:20: note: initializing argument 1 of 'void fastRead(int&)'
7 | void fastRead(int &nr)
| ~~~~~^~
main.cpp:53:20: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
53 | fastRead(x.second);
| ~~^~~~~~
main.cpp:7:20: note: initializing argument 1 of 'void fastRead(int&)'
7 | void fastRead(int &nr)
| ~~~~~^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
