Borderou de evaluare (job #1340547)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 11 februarie 2015 21:33:42
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 64

Raport evaluator

Compilare: user.cpp:13: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
10ms412kbOK5
20ms460kbPrimul numar corect1
30ms908kbPrimul numar corect1
48ms2160kbPrimul numar corect1
512ms2636kbPrimul numar corect1
632ms3980kbPrimul numar corect1
70ms1480kbOK5
80ms816kbOK5
912ms2916kbPrimul numar corect1
1040ms6196kbPrimul numar corect1
1152ms6200kbOK5
12140ms8180kbOK5
13148ms9616kbOK5
14176ms10840kbOK5
15132ms12176kbPrimul numar corect1
16128ms12136kbPrimul numar corect1
17104ms9632kbOK5
18196ms12140kbOK5
19120ms8152kbOK5
20168ms10992kbOK5
Punctaj total64

Ceva nu functioneaza?