Borderou de evaluare (job #1340554)

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

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:41: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:42: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:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:48: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:49: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:50: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:51:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &K); ^ user.cpp:57: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
512ms2640kbPrimul numar corect1
632ms3984kbPrimul numar corect1
70ms1480kbOK5
80ms820kbOK5
912ms2920kbPrimul numar corect1
1040ms6200kbPrimul numar corect1
1152ms6200kbOK5
12140ms8184kbOK5
13144ms9616kbOK5
14172ms10840kbOK5
15128ms12176kbPrimul numar corect1
16124ms12132kbPrimul numar corect1
17104ms9632kbOK5
18196ms12144kbOK5
19120ms8156kbOK5
20172ms10984kbOK5
Punctaj total64

Ceva nu functioneaza?