Pagini recente » Borderou de evaluare (job #1808784) | Borderou de evaluare (job #1866894) | Borderou de evaluare (job #1438180) | Borderou de evaluare (job #631508) | Borderou de evaluare (job #1314623)
Borderou de evaluare (job #1314623)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:18: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:20: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:35: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:50:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp:50:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘void citire()’:
user.cpp:18: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:20: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:33: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:35: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:52: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 | 23880kb | OK | 10 |
2 | 36ms | 24052kb | OK | 10 |
3 | 40ms | 25732kb | OK | 10 |
4 | 56ms | 27536kb | OK | 10 |
5 | 84ms | 28068kb | OK | 10 |
6 | 112ms | 28556kb | OK | 10 |
7 | 164ms | 29736kb | OK | 10 |
8 | 436ms | 34424kb | OK | 10 |
9 | 960ms | 39116kb | OK | 10 |
10 | Depăşit | 50804kb | Time limit exceeded. | 0 |
Punctaj total | 90 |