Pagini recente » Borderou de evaluare (job #1636994) | Diferente pentru problema/munte2 intre reviziile 96 si 76 | Borderou de evaluare (job #1822143) | Borderou de evaluare (job #3192374) | Borderou de evaluare (job #1314617)
Borderou de evaluare (job #1314617)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:17:36: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[10]’ [-Wformat=]
fscanf(f,"%d\n%s\n%d ",&n,&c,&m);
^
user.cpp:19:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10]’ [-Wformat=]
fscanf(f,"%s",&t);
^
user.cpp: In function ‘int rez()’:
user.cpp:33:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10]’ [-Wformat=]
fscanf(f,"%s ",&l);
^
user.cpp: In function ‘int main()’:
user.cpp:47:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp:47:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘void citire()’:
user.cpp:17:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n%s\n%d ",&n,&c,&m);
^
user.cpp:19:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&t);
^
user.cpp: In function ‘int rez()’:
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:33:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s ",&l);
^
user.cpp: In function ‘int main()’:
user.cpp:49:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | OK | 10 |
| 2 | 0ms | 464kb | OK | 10 |
| 3 | 4ms | 484kb | OK | 10 |
| 4 | 12ms | 688kb | OK | 10 |
| 5 | 36ms | 1156kb | OK | 10 |
| 6 | 64ms | 1632kb | OK | 10 |
| 7 | 136ms | 2804kb | OK | 10 |
| 8 | 596ms | 7488kb | OK | 10 |
| 9 | Depăşit | 12164kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 19000kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |