Pagini recente » Borderou de evaluare (job #1611853) | Borderou de evaluare (job #3042104) | Borderou de evaluare (job #1759816) | Borderou de evaluare (job #1315111) | Borderou de evaluare (job #1314618)
Borderou de evaluare (job #1314618)
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 | 32ms | 23872kb | OK | 10 |
| 2 | 32ms | 23880kb | OK | 10 |
| 3 | 36ms | 23896kb | OK | 10 |
| 4 | 48ms | 24116kb | OK | 10 |
| 5 | 68ms | 24584kb | OK | 10 |
| 6 | 96ms | 25052kb | OK | 10 |
| 7 | 140ms | 26220kb | OK | 10 |
| 8 | 372ms | 30908kb | OK | 10 |
| 9 | 872ms | 35596kb | OK | 10 |
| 10 | Depăşit | 47300kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |