Borderou de evaluare (job #3142645)
Utilizator | Data | 22 iulie 2023 22:49:36 | |
---|---|---|---|
Problema | Plan | 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:48:8: error: invalid operands of types 'int [256]' and 'int' to binary 'operator>>'
48 | in >> n >> m;
| ~~ ^~ ~
| | |
| | int
| int [256]
main.cpp:52:12: error: invalid operands of types 'int [256]' and 'int' to binary 'operator>>'
52 | in >> a >> b;
| ~~ ^~ ~
| | |
| | int
| int [256]
main.cpp:126:23: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
126 | for (int i = 0; i < max(outuri.size(), inuri.size()); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:129:9: error: invalid operands of types 'int [256]' and 'const int' to binary 'operator<<'
129 | out << max(need_in, need_out) << '\n';
| ~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~
| | |
| int [256] const int
main.cpp:132:13: error: invalid operands of types 'int [256]' and 'int' to binary 'operator<<'
132 | out << it.first << ' ' << it.second << '\n';
| ~~~ ^~ ~~~~~~~~
| | |
| int [256] int
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !