Borderou de evaluare (job #3261345)

Utilizator MilitaruMihaiMihaiMIlitaru MilitaruMihai Data 5 decembrie 2024 16:08:27
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int calc(int)': main.cpp:18:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 18 | for (int i=0;i<g[k].size();i++) | ~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:38:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (int i=0;i<v.size();i++) | ~^~~~~~~~~ main.cpp:38:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 38 | for (int i=0;i<v.size();i++) | ^~~ main.cpp:40:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 40 | cout<<'\n'; | ^~~~ main.cpp:62:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for (int i=0;i<v.size();i++,cout<<'\n') | ~^~~~~~~~~ main.cpp:63:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 63 | for (int j=0;j<g[i].size();j++,cout<<' ') | ~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
253ms303kbTime limit exceeded0
35ms536kbKilled by Signal 110
42ms303kbIncorect0
50ms303kbOK10
654ms303kbTime limit exceeded0
70ms303kbOK10
853ms303kbTime limit exceeded0
953ms303kbTime limit exceeded0
109ms573kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?