Pagini recente » Cod sursa (job #2211334) | Cod sursa (job #383190) | Cod sursa (job #3031000) | Cod sursa (job #1913127) | Borderou de evaluare (job #1330247)
Borderou de evaluare (job #1330247)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[13]’ [-Wformat=]
fscanf(f,"%d %s",&n,&o);
^
user.cpp:37:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[6]’ [-Wformat=]
fscanf(f,"%s",&x[i].s);
^
user.cpp:28:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k;
^
user.cpp:31:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p);
^
user.cpp:32:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %s",&n,&o);
^
user.cpp:37:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&x[i].s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 5 |
2 | 0ms | 448kb | OK | 5 |
3 | 36ms | 836kb | OK | 5 |
4 | 80ms | 1220kb | OK | 5 |
5 | 168ms | 2004kb | OK | 5 |
6 | Depăşit | 3516kb | Time limit exceeded. | 0 |
7 | 0ms | 432kb | Incorect | 0 |
8 | 0ms | 440kb | Incorect | 0 |
9 | 0ms | 448kb | Incorect | 0 |
10 | 4ms | 468kb | Incorect | 0 |
11 | 8ms | 512kb | Incorect | 0 |
12 | 16ms | 584kb | Incorect | 0 |
13 | 36ms | 748kb | Incorect | 0 |
14 | 76ms | 1060kb | Incorect | 0 |
15 | 96ms | 1216kb | Incorect | 0 |
16 | 148ms | 1604kb | Incorect | 0 |
17 | 204ms | 1996kb | Incorect | 0 |
18 | 248ms | 2388kb | Incorect | 0 |
19 | Depăşit | 2916kb | Time limit exceeded. | 0 |
20 | Depăşit | 3520kb | Time limit exceeded. | 0 |
Punctaj total | 25 |