Borderou de evaluare (job #797358)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gadfadăr (clasa 6-7) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 nov. 2024 20:51:26 | 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: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';
| ~^~~~~~~~~~~~~~~~~~