Pagini recente » Borderou de evaluare (job #1890989) | Borderou de evaluare (job #893803) | Borderou de evaluare (job #532875) | Borderou de evaluare (job #794539) | Borderou de evaluare (job #1340641)
Borderou de evaluare (job #1340641)
Raport evaluator
Compilare:
user.cpp:12:0: warning: "INFINITY" redefined [enabled by default]
#define INFINITY 1<<30
^
In file included from /usr/include/math.h:40:0,
from /usr/include/c++/4.8/cmath:44,
from /usr/include/c++/4.8/random:38,
from /usr/include/c++/4.8/bits/stl_algo.h:65,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:3:
/usr/include/i386-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
# define INFINITY (__builtin_inff())
^
user.cpp: In function ‘int main()’:
user.cpp:40:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inFile, "r", stdin);
^
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outFile, "w", stdout);
^
user.cpp:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:47:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &Target.x, &Target.y);
^
user.cpp:48:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &S1.x, &S1.y, &S2.x, &S2.y);
^
user.cpp:49:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &R1.x, &R1.y, &R2.x, &R2.y);
^
user.cpp:50:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
^
user.cpp:56:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &Obstacle.x, &Obstacle.y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 412kb | OK | 5 |
| 2 | 0ms | 452kb | OK | 5 |
| 3 | 0ms | 904kb | OK | 5 |
| 4 | 8ms | 2148kb | OK | 5 |
| 5 | 12ms | 2636kb | OK | 5 |
| 6 | 32ms | 3984kb | OK | 5 |
| 7 | 0ms | 1472kb | OK | 5 |
| 8 | 0ms | 812kb | OK | 5 |
| 9 | 16ms | 2916kb | OK | 5 |
| 10 | 40ms | 6196kb | OK | 5 |
| 11 | 52ms | 6200kb | OK | 5 |
| 12 | 140ms | 8172kb | OK | 5 |
| 13 | 148ms | 9608kb | OK | 5 |
| 14 | 172ms | 10836kb | OK | 5 |
| 15 | 132ms | 12176kb | OK | 5 |
| 16 | 128ms | 12132kb | OK | 5 |
| 17 | 104ms | 9628kb | OK | 5 |
| 18 | 200ms | 12140kb | OK | 5 |
| 19 | 124ms | 8152kb | OK | 5 |
| 20 | 172ms | 10988kb | OK | 5 |
| Punctaj total | 100 |