Pagini recente » Borderou de evaluare (job #2401603) | Borderou de evaluare (job #2078448) | Cod sursa (job #1089903) | Borderou de evaluare (job #914265) | Borderou de evaluare (job #1330244)
Borderou de evaluare (job #1330244)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d %s",&n,&o);
^
user.cpp:32:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[13]’ [-Wformat=]
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 | 436kb | OK | 5 |
2 | 0ms | 444kb | OK | 5 |
3 | Depăşit | 3516kb | Time limit exceeded. | 0 |
4 | Depăşit | 3512kb | Time limit exceeded. | 0 |
5 | 0ms | 464kb | Incorect | 0 |
6 | 4ms | 492kb | Incorect | 0 |
7 | 0ms | 436kb | Incorect | 0 |
8 | 0ms | 436kb | Incorect | 0 |
9 | 0ms | 444kb | Incorect | 0 |
10 | 4ms | 472kb | Incorect | 0 |
11 | 8ms | 508kb | Incorect | 0 |
12 | 16ms | 588kb | Incorect | 0 |
13 | Depăşit | 3516kb | Time limit exceeded. | 0 |
14 | 12ms | 552kb | Incorect | 0 |
15 | Depăşit | 3516kb | Time limit exceeded. | 0 |
16 | 16ms | 580kb | Incorect | 0 |
17 | 0ms | 456kb | Incorect | 0 |
18 | Depăşit | 3516kb | Time limit exceeded. | 0 |
19 | Depăşit | 3520kb | Time limit exceeded. | 0 |
20 | 4ms | 484kb | Incorect | 0 |
Punctaj total | 10 |