Borderou de evaluare (job #2855176)

Utilizator alex161104Alexandru Victoria alex161104 Data 22 februarie 2022 10:42:20
Problema Autobuze Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void rez()': main.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | for(int i=1;i<=v.size();i++) | ~^~~~~~~~~~ main.cpp:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | for(int j=1;j<=v.size();j++) | ~^~~~~~~~~~ main.cpp:33:30: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 33 | else v.erase(v.begin()+i);nr++;} | ^~~~ main.cpp:33:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 33 | else v.erase(v.begin()+i);nr++;} | ^~ main.cpp:35:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | for(int i=1;i<=v.size();i++) | ~^~~~~~~~~~ main.cpp:36:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | for(int j=1;j<=v.size();j++) | ~^~~~~~~~~~ main.cpp:39:30: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 39 | else v.erase(v.begin()+i);nr++;} | ^~~~ main.cpp:39:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 39 | else v.erase(v.begin()+i);nr++;} | ^~ main.cpp: In function 'int main()': main.cpp:49:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for(i=0;i<=v.size();i++)cout<<v[i]<<" "; | ~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbKilled by Signal 110
22ms184kbIncorect0
3804ms262kbTime limit exceeded0
4802ms229kbTime limit exceeded0
521ms331kbKilled by Signal 110
6803ms393kbTime limit exceeded0
7803ms655kbTime limit exceeded0
8803ms655kbTime limit exceeded0
9803ms659kbTime limit exceeded0
10804ms659kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?