Pagini recente » Borderou de evaluare (job #1558907) | Borderou de evaluare (job #175026) | Borderou de evaluare (job #676811) | Borderou de evaluare (job #201715) | Borderou de evaluare (job #1293388)
Borderou de evaluare (job #1293388)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf (f,"%d%d%d%d%d%d%d%d%d%d",&tinta.x,&tinta.y,&sur1.x,&sur1.y,&sur2.x,&sur2.y,&rob1.x,&rob1.y,&rob2.x,&rob2.y);
^
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=]
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=]
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘short int*’ [-Wformat=]
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 10 has type ‘short int*’ [-Wformat=]
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 11 has type ‘short int*’ [-Wformat=]
user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 12 has type ‘short int*’ [-Wformat=]
user.cpp:23:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f,"%d",&n);
^
user.cpp:24:117: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f,"%d%d%d%d%d%d%d%d%d%d",&tinta.x,&tinta.y,&sur1.x,&sur1.y,&sur2.x,&sur2.y,&rob1.x,&rob1.y,&rob2.x,&rob2.y);
^
user.cpp:25:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f,"%d",&obst);
^
user.cpp:27:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f,"%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | Primul numar corect | 1 |
2 | 0ms | 356kb | Primul numar corect | 1 |
3 | 0ms | 724kb | Primul numar corect | 1 |
4 | 8ms | 1724kb | Primul numar corect | 1 |
5 | 8ms | 2164kb | Primul numar corect | 1 |
6 | 28ms | 3300kb | Primul numar corect | 1 |
7 | 0ms | 1172kb | Primul numar corect | 1 |
8 | 0ms | 672kb | Primul numar corect | 1 |
9 | 12ms | 2380kb | Primul numar corect | 1 |
10 | 36ms | 5592kb | Primul numar corect | 1 |
11 | 44ms | 5528kb | Primul numar corect | 1 |
12 | 124ms | 7252kb | Primul numar corect | 1 |
13 | 124ms | 9284kb | Primul numar corect | 1 |
14 | 148ms | 10752kb | Primul numar corect | 1 |
15 | 112ms | 12816kb | Primul numar corect | 1 |
16 | 196ms | 12104kb | Primul numar corect | 1 |
17 | 92ms | 9556kb | Primul numar corect | 1 |
18 | 168ms | 12596kb | Primul numar corect | 1 |
19 | 104ms | 7488kb | Primul numar corect | 1 |
20 | 148ms | 7404kb | Primul numar corect | 1 |
Punctaj total | 20 |