Borderou de evaluare (job #1842556)

Utilizator razvanipRazvan Ispas razvanip Data 7 ianuarie 2017 10:07:37
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 78

Raport evaluator

Compilare: user.cpp: In function ‘void citeste(int&, int&, char (*)[5001])’: user.cpp:15:33: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] a[i][strlen(a[i])-1]=NULL; ^ user.cpp: In function ‘int main()’: user.cpp:31:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(max==strlen(a[i])) ^ user.cpp:35:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(max<strlen(a[i])) ^ user.cpp:55:38: warning: NULL used in arithmetic [-Wpointer-arith] for(p=a[j],q=a[i]; *p!=NULL && cod==1 && i!=j ;p++) ^ user.cpp:59:26: warning: NULL used in arithmetic [-Wpointer-arith] if(*q==NULL) ^ user.cpp: In function ‘void citeste(int&, int&, char (*)[5001])’: user.cpp:11:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%c",&p,&n,&c); ^ user.cpp:14:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(a[i],5001,f); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1024kbOK.520
24ms1188kbOK.5
30ms376kbOK.5
40ms868kbOK.5
50ms352kbOK.33
668ms1068kbOK.33
70ms308kbOK.33
872ms784kbOK.33
9536ms1236kbOK.44
10216ms1240kbOK.44
11440ms1124kbOK.44
12260ms1196kbOK.44
13284ms1204kbOK.44
14256ms1248kbOK.55
15284ms1240kbOK.55
16628ms1236kbOK.55
17468ms1224kbOK.55
18372ms1236kbNumar de siruri incorect.00
19364ms1224kbNumar de siruri incorect.00
20Depăşit1220kbTime limit exceeded.00
21Depăşit1224kbTime limit exceeded.00
22452ms1244kbOK.66
Punctaj total78

Ceva nu functioneaza?