Pagini recente » Borderou de evaluare (job #2081683) | Borderou de evaluare (job #102327) | Borderou de evaluare (job #2143249) | Borderou de evaluare (job #1359105) | Borderou de evaluare (job #1670071)
Borderou de evaluare (job #1670071)
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 | 264kb | OK. | 5 | 20 |
2 | 4ms | 264kb | OK. | 5 |
3 | 0ms | 260kb | OK. | 5 |
4 | 0ms | 264kb | OK. | 5 |
5 | 0ms | 356kb | OK. | 3 | 3 |
6 | 44ms | 1080kb | OK. | 3 | 3 |
7 | 0ms | 300kb | OK. | 3 | 3 |
8 | 44ms | 780kb | OK. | 3 | 3 |
9 | 356ms | 1244kb | OK. | 4 | 4 |
10 | 128ms | 1228kb | OK. | 4 | 4 |
11 | 300ms | 1120kb | OK. | 4 | 4 |
12 | 160ms | 1196kb | OK. | 4 | 4 |
13 | 184ms | 1216kb | OK. | 4 | 4 |
14 | 152ms | 1244kb | OK. | 5 | 5 |
15 | 188ms | 1236kb | OK. | 5 | 5 |
16 | 472ms | 1220kb | OK. | 5 | 5 |
17 | 340ms | 1228kb | OK. | 5 | 5 |
18 | 236ms | 1240kb | OK. | 5 | 5 |
19 | 248ms | 1244kb | OK. | 5 | 5 |
20 | Depăşit | 1208kb | Time limit exceeded. | 0 | 0 |
21 | Depăşit | 1208kb | Time limit exceeded. | 0 | 0 |
22 | 308ms | 1244kb | OK. | 6 | 6 |
Punctaj total | 88 |