Borderou de evaluare (job #2232461)

Utilizator justsomedudePalade Thomas-Emanuel justsomedude Data 19 august 2018 13:27:01
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:20: warning: NULL used in arithmetic [-Wpointer-arith] while (p[i] != NULL) ^~~~ user.cpp:23:39: warning: NULL used in arithmetic [-Wpointer-arith] while (p[i] == ' ' && p[i] != NULL) ^~~~ user.cpp:35:20: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] v[0] = NULL; ^~~~ user.cpp:41:24: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] v[++cnt] = NULL; ^~~~ user.cpp:50:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0; j<strlen(v); j++) ~^~~~~~~~~~ user.cpp:55:27: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a[n][m] = NULL; ^~~~ user.cpp:60:43: warning: NULL used in arithmetic [-Wpointer-arith] while (p[i] == ' ' && p[i] != NULL) ^~~~ user.cpp:74:43: warning: NULL used in arithmetic [-Wpointer-arith] while (p[i] == ' ' && p[i] != NULL) ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1324kbOK!10
20ms1320kbOK!10
30ms1328kbOK!10
40ms1324kbOK!10
50ms1324kbOK!10
60ms1324kbOK!10
70ms1324kbOK!10
80ms1320kbOK!10
90ms1328kbOK!10
100ms1324kbOK!10
Punctaj total100

Ceva nu functioneaza?