Pagini recente » Borderou de evaluare (job #2224997) | Borderou de evaluare (job #2829198) | Borderou de evaluare (job #2548356) | Borderou de evaluare (job #2848768) | Borderou de evaluare (job #1314625)
Borderou de evaluare (job #1314625)
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:34: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: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:32: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:34: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 | 36ms | 23872kb | OK | 10 |
2 | 36ms | 23876kb | OK | 10 |
3 | 40ms | 23904kb | OK | 10 |
4 | 52ms | 24108kb | OK | 10 |
5 | 76ms | 24576kb | OK | 10 |
6 | 100ms | 25056kb | OK | 10 |
7 | 144ms | 26224kb | OK | 10 |
8 | 384ms | 30916kb | OK | 10 |
9 | 876ms | 35596kb | OK | 10 |
10 | Depăşit | 47296kb | Time limit exceeded. | 0 |
Punctaj total | 90 |