Borderou de evaluare (job #797360)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gadfadăr (clasa 6-7) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 nov. 2024 20:52:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: expected unqualified-id before '__int128'
3 | __int128 sum(int x) {
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:21:9: error: expected primary-expression before '__int128'
21 | __int128 x, y;
| ^~~~~~~~
main.cpp:22:24: error: 'x' was not declared in this scope
22 | fin >> nume >> x >> y;
| ^
main.cpp:22:29: error: 'y' was not declared in this scope
22 | fin >> nume >> x >> y;
| ^
main.cpp:23:13: error: 'sum' was not declared in this scope
23 | if (sum(x) != y) {
| ^~~
main.cpp:29:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
29 | for (int i=0;i<intrusi.size();i++) {
| ~^~~~~~~~~~~~~~~
main.cpp:31:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
31 | if(i!=intrusi.size()-1)fout<<'\n';
| ~^~~~~~~~~~~~~~~~~~