Pagini recente » Borderou de evaluare (job #2660005) | Borderou de evaluare (job #1511983) | Borderou de evaluare (job #128864) | Borderou de evaluare (job #2904194) | Borderou de evaluare (job #1340596)
Borderou de evaluare (job #1340596)
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 | 416kb | OK | 5 |
2 | 0ms | 464kb | OK | 5 |
3 | 0ms | 912kb | OK | 5 |
4 | 8ms | 2164kb | OK | 5 |
5 | 12ms | 2636kb | Primul numar corect | 1 |
6 | 32ms | 3988kb | Primul numar corect | 1 |
7 | 0ms | 1488kb | OK | 5 |
8 | 0ms | 824kb | OK | 5 |
9 | 12ms | 2924kb | OK | 5 |
10 | 40ms | 6200kb | OK | 5 |
11 | 52ms | 6204kb | OK | 5 |
12 | 140ms | 8184kb | OK | 5 |
13 | 148ms | 9620kb | OK | 5 |
14 | 176ms | 10852kb | OK | 5 |
15 | 128ms | 12176kb | Primul numar corect | 1 |
16 | 124ms | 12132kb | OK | 5 |
17 | 104ms | 9632kb | OK | 5 |
18 | 196ms | 12140kb | OK | 5 |
19 | 124ms | 8160kb | OK | 5 |
20 | 176ms | 10992kb | OK | 5 |
Punctaj total | 88 |