Borderou de evaluare (job #1842556)
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 |
1 | 0ms | 1024kb | OK. | 5 | 20 |
2 | 4ms | 1188kb | OK. | 5 |
3 | 0ms | 376kb | OK. | 5 |
4 | 0ms | 868kb | OK. | 5 |
5 | 0ms | 352kb | OK. | 3 | 3 |
6 | 68ms | 1068kb | OK. | 3 | 3 |
7 | 0ms | 308kb | OK. | 3 | 3 |
8 | 72ms | 784kb | OK. | 3 | 3 |
9 | 536ms | 1236kb | OK. | 4 | 4 |
10 | 216ms | 1240kb | OK. | 4 | 4 |
11 | 440ms | 1124kb | OK. | 4 | 4 |
12 | 260ms | 1196kb | OK. | 4 | 4 |
13 | 284ms | 1204kb | OK. | 4 | 4 |
14 | 256ms | 1248kb | OK. | 5 | 5 |
15 | 284ms | 1240kb | OK. | 5 | 5 |
16 | 628ms | 1236kb | OK. | 5 | 5 |
17 | 468ms | 1224kb | OK. | 5 | 5 |
18 | 372ms | 1236kb | Numar de siruri incorect. | 0 | 0 |
19 | 364ms | 1224kb | Numar de siruri incorect. | 0 | 0 |
20 | Depăşit | 1220kb | Time limit exceeded. | 0 | 0 |
21 | Depăşit | 1224kb | Time limit exceeded. | 0 | 0 |
22 | 452ms | 1244kb | OK. | 6 | 6 |
Punctaj total | 78 |