Borderou de evaluare (job #2586947)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:173:25: warning: format '%hd' expects argument of type 'short int*', but argument 3 has type 'int*' [-Wformat=]
fscanf (fin,"%hd",&n);
^
main.cpp:185:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=1;j<chains[i].size();++j){
~^~~~~~~~~~~~~~~~~
main.cpp:192:25: warning: format '%hd' expects argument of type 'short int*', but argument 3 has type 'int*' [-Wformat=]
fscanf (fin,"%hd",&m);
^
main.cpp:202:45: warning: format '%hd' expects argument of type 'short int*', but argument 3 has type 'int*' [-Wformat=]
fscanf (fin,"%hd %hd %hd",&tip,&x,&y);
^
main.cpp:173:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%hd",&n);
^
main.cpp:176:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%hd %hd",&x,&y);
^
main.cpp:192:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%hd",&m);
^
main.cpp:195:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%hd %hd",&x,&y);
^
main.cpp:200:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d",&q);
^
main.cpp:202:46: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%hd %hd %hd",&tip,&x,&y);
^
main.cpp:212:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d %d",&t1,&t2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 1703kb | OK | 5 |
2 | 26ms | 2621kb | OK | 5 |
3 | 30ms | 2490kb | OK | 5 |
4 | 493ms | 10092kb | OK | 5 |
5 | 556ms | 8126kb | OK | 5 |
6 | 396ms | 10485kb | OK | 5 |
7 | 516ms | 9961kb | OK | 5 |
8 | 566ms | 9437kb | OK | 5 |
9 | 525ms | 9699kb | OK | 5 |
10 | 519ms | 10092kb | OK | 5 |
11 | 435ms | 10747kb | OK | 5 |
12 | 392ms | 11010kb | OK | 5 |
13 | 6001ms | 25853kb | Time limit exceeded | 0 |
14 | 5151ms | 28966kb | OK | 5 |
15 | 5093ms | 28573kb | OK | 5 |
16 | 6003ms | 23592kb | Time limit exceeded | 0 |
17 | 6002ms | 24772kb | Time limit exceeded | 0 |
18 | 5385ms | 29110kb | OK | 5 |
19 | 4740ms | 29360kb | OK | 5 |
20 | 4532ms | 28835kb | OK | 5 |
Punctaj total | 85 |