Borderou de evaluare (job #2593671)

Utilizator bogdi1bogdan bancuta bogdi1 Data 4 aprilie 2020 13:31:07
Problema Incurcatura Status done
Runda Arhiva de probleme Compilator cpp-32 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0,l=0; j<g[i].size(); j++){ ~^~~~~~~~~~~~ main.cpp:43:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(l<vreau[i].size() && vreau[i][l]==x){ ~^~~~~~~~~~~~~~~~ main.cpp:48:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(l<vreau[i].size() && vreau[i][l]<x){ ~^~~~~~~~~~~~~~~~ main.cpp:56:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(l<vreau[i].size() && x<vreau[i][l]){ ~^~~~~~~~~~~~~~~~ main.cpp:68:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(l<vreau[i].size()){ ~^~~~~~~~~~~~~~~~ main.cpp:85:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<vreau[i].size(); j++){ ~^~~~~~~~~~~~~~~~ main.cpp:96:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(it->grad==s.size()-1){ ~~~~~~~~^~~~~~~~~~~~ main.cpp:100:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<g[i].size(); j++){ ~^~~~~~~~~~~~ main.cpp:24:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("incurcatura.in", "r", stdin); ^ main.cpp:25:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("incurcatura.out", "w", stdout); ^ main.cpp:27:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &p, &n); ^ main.cpp:30:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ main.cpp:32:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms2621kbOK10
213ms2621kbOK10
3166ms6553kbOK10
4258ms8912kbOK10
57ms2490kbKilled by Signal 110
657ms3801kbKilled by Signal 110
773ms3932kbKilled by Signal 110
8264ms9043kbKilled by Signal 110
9253ms9699kbKilled by Signal 110
10313ms10485kbKilled by Signal 110
Punctaj total40

Ceva nu functioneaza?