Pagini recente » Borderou de evaluare (job #2909511) | Borderou de evaluare (job #249470) | Borderou de evaluare (job #2854621) | Borderou de evaluare (job #931486) | Borderou de evaluare (job #1314512)
Borderou de evaluare (job #1314512)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:15: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: 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:48:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp:48:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘void citire()’:
user.cpp:15: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:25: 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:50: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 | 440kb | Incorect | 0 |
2 | 4ms | 448kb | Incorect | 0 |
3 | 412ms | 452kb | Incorect | 0 |
4 | Depăşit | 496kb | Time limit exceeded. | 0 |
5 | Depăşit | 488kb | Time limit exceeded. | 0 |
6 | Depăşit | 484kb | Time limit exceeded. | 0 |
7 | Depăşit | 488kb | Time limit exceeded. | 0 |
8 | Depăşit | 488kb | Time limit exceeded. | 0 |
9 | Depăşit | 484kb | Time limit exceeded. | 0 |
10 | Depăşit | 488kb | Time limit exceeded. | 0 |
Punctaj total | 0 |