Pagini recente » Borderou de evaluare (job #3196797) | Borderou de evaluare (job #1577900) | Borderou de evaluare (job #989464) | Borderou de evaluare (job #747080) | Borderou de evaluare (job #1314622)
Borderou de evaluare (job #1314622)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:16: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:18: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:52:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp:52:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘void citire()’:
user.cpp:16: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:18: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:54: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 | 36ms | 23888kb | OK | 10 |
2 | 36ms | 24068kb | OK | 10 |
3 | 40ms | 25748kb | OK | 10 |
4 | 56ms | 27592kb | OK | 10 |
5 | 84ms | 28088kb | OK | 10 |
6 | 112ms | 28564kb | OK | 10 |
7 | 164ms | 29740kb | OK | 10 |
8 | 436ms | 34436kb | OK | 10 |
9 | 964ms | 39120kb | OK | 10 |
10 | Depăşit | 50816kb | Time limit exceeded. | 0 |
Punctaj total | 90 |