Borderou de evaluare (job #1159385)

Utilizator Sanduleac_VladSanduleac Vllad Alexandru Sanduleac_Vlad Data 29 martie 2014 15:56:02
Problema Excursie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long int tol(char*)’: user.cpp:10:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(x[0] == 'B') ^ user.cpp:14:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(x[0] == 'C') ^ user.cpp:18:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(x[0] == 'H') ^ user.cpp:24:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(x[0] == 'S') ^ user.cpp: In function ‘int main()’: user.cpp:54:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[4]’ [-Wformat=] scanf("%s\n", &tmp); ^ user.cpp:56:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[4]’ [-Wformat=] while(scanf("%s ", &tmp) && tmp[0]) { ^ user.cpp:58:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[4]’ [-Wformat=] scanf("%s", &tmp); ^ user.cpp:71:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < v[q.top().poz].size(); i++) ^ user.cpp:90:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < v[q.top().poz].size(); i++) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbKilled by signal 11(SIGSEGV).0
20ms232kbKilled by signal 11(SIGSEGV).0
30ms232kbKilled by signal 11(SIGSEGV).0
40ms232kbKilled by signal 11(SIGSEGV).0
50ms232kbKilled by signal 11(SIGSEGV).0
60ms236kbKilled by signal 11(SIGSEGV).0
70ms232kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms232kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
110ms232kbKilled by signal 11(SIGSEGV).0
120ms232kbKilled by signal 11(SIGSEGV).0
130ms232kbKilled by signal 11(SIGSEGV).0
140ms236kbKilled by signal 11(SIGSEGV).0
150ms232kbKilled by signal 11(SIGSEGV).0
160ms232kbKilled by signal 11(SIGSEGV).0
170ms232kbKilled by signal 11(SIGSEGV).0
180ms232kbKilled by signal 11(SIGSEGV).0
190ms232kbKilled by signal 11(SIGSEGV).0
200ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?