Pagini recente » Borderou de evaluare (job #3291815) | Borderou de evaluare (job #3169852) | Borderou de evaluare (job #1109530) | Borderou de evaluare (job #1281030) | Borderou de evaluare (job #2586951)
Borderou de evaluare (job #2586951)
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 | 25ms | 3276kb | OK | 5 |
4 | 418ms | 11010kb | OK | 5 |
5 | 449ms | 9306kb | OK | 5 |
6 | 313ms | 11534kb | OK | 5 |
7 | 397ms | 10878kb | OK | 5 |
8 | 455ms | 10485kb | OK | 5 |
9 | 417ms | 10878kb | OK | 5 |
10 | 415ms | 11010kb | OK | 5 |
11 | 348ms | 11796kb | OK | 5 |
12 | 319ms | 12058kb | OK | 5 |
13 | 5761ms | 27656kb | OK | 5 |
14 | 4059ms | 30498kb | OK | 5 |
15 | 3969ms | 30146kb | OK | 5 |
16 | 6003ms | 25296kb | Time limit exceeded | 0 |
17 | 6001ms | 26198kb | Time limit exceeded | 0 |
18 | 4309ms | 30752kb | OK | 5 |
19 | 4051ms | 30916kb | OK | 5 |
20 | 3988ms | 30306kb | OK | 5 |
Punctaj total | 90 |