Pagini recente » Borderou de evaluare (job #2766435) | Borderou de evaluare (job #2787067) | Borderou de evaluare (job #1157738) | Borderou de evaluare (job #2877372) | Borderou de evaluare (job #2586934)
Borderou de evaluare (job #2586934)
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 | 2490kb | OK | 5 |
| 2 | 22ms | 3407kb | OK | 5 |
| 3 | 24ms | 3276kb | OK | 5 |
| 4 | 395ms | 11010kb | OK | 5 |
| 5 | 440ms | 9175kb | OK | 5 |
| 6 | 309ms | 11534kb | OK | 5 |
| 7 | 404ms | 11010kb | OK | 5 |
| 8 | 471ms | 10616kb | OK | 5 |
| 9 | 437ms | 10878kb | OK | 5 |
| 10 | 442ms | 11010kb | OK | 5 |
| 11 | 342ms | 11796kb | OK | 5 |
| 12 | 308ms | 12058kb | OK | 5 |
| 13 | 5752ms | 27656kb | OK | 5 |
| 14 | 4052ms | 30408kb | OK | 5 |
| 15 | 4282ms | 30146kb | OK | 5 |
| 16 | 6003ms | 25296kb | Time limit exceeded | 0 |
| 17 | 6001ms | 26275kb | Time limit exceeded | 0 |
| 18 | 3994ms | 30670kb | OK | 5 |
| 19 | 3688ms | 30932kb | OK | 5 |
| 20 | 3607ms | 30408kb | OK | 5 |
| Punctaj total | 90 |