Pagini recente » Borderou de evaluare (job #2521366) | Borderou de evaluare (job #1670001)
Borderou de evaluare (job #1670001)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[5001]’ [-Wformat=]
fscanf(f,"%s",&s);
^
user.cpp:43:45: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[5001]’ [-Wformat=]
for(i=0;i<n;i++) fscanf(f,"%s",&a[i]),v[i]=strlen(a[i]);
^
user.cpp:26:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&p,&n);
^
user.cpp:31:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
user.cpp:43:64: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++) fscanf(f,"%s",&a[i]),v[i]=strlen(a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK. | 5 | 20 |
2 | 4ms | 268kb | OK. | 5 |
3 | 0ms | 264kb | OK. | 5 |
4 | 0ms | 260kb | OK. | 5 |
5 | 0ms | 356kb | OK. | 3 | 3 |
6 | 52ms | 1080kb | OK. | 3 | 3 |
7 | 0ms | 308kb | OK. | 3 | 3 |
8 | 48ms | 776kb | OK. | 3 | 3 |
9 | 348ms | 1244kb | OK. | 4 | 4 |
10 | 136ms | 1236kb | OK. | 4 | 4 |
11 | 292ms | 1128kb | OK. | 4 | 4 |
12 | 172ms | 1184kb | OK. | 4 | 4 |
13 | 188ms | 1208kb | OK. | 4 | 4 |
14 | 168ms | 1252kb | OK. | 5 | 5 |
15 | 204ms | 1236kb | OK. | 5 | 5 |
16 | 464ms | 1240kb | OK. | 5 | 5 |
17 | 344ms | 1224kb | OK. | 5 | 5 |
18 | 288ms | 1248kb | OK. | 5 | 5 |
19 | 276ms | 1244kb | OK. | 5 | 5 |
20 | Depăşit | 1216kb | Time limit exceeded. | 0 | 0 |
21 | Depăşit | 1216kb | Time limit exceeded. | 0 | 0 |
22 | 336ms | 1248kb | OK. | 6 | 6 |
Punctaj total | 88 |