Pagini recente » Borderou de evaluare (job #2367592) | Borderou de evaluare (job #1555433) | Borderou de evaluare (job #28149) | Borderou de evaluare (job #1666711) | Borderou de evaluare (job #1314615)
Borderou de evaluare (job #1314615)
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:51:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp:51: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:53: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 | 436kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 4ms | 460kb | OK | 10 |
4 | 16ms | 672kb | OK | 10 |
5 | 48ms | 1136kb | OK | 10 |
6 | 76ms | 1608kb | OK | 10 |
7 | 152ms | 2784kb | OK | 10 |
8 | 656ms | 7468kb | OK | 10 |
9 | Depăşit | 12144kb | Time limit exceeded. | 0 |
10 | Depăşit | 17780kb | Time limit exceeded. | 0 |
Punctaj total | 80 |