Borderou de evaluare (job #1340530)

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

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
10ms408kbOK5
20ms460kbPrimul numar corect1
30ms904kbPrimul numar corect1
48ms2164kbPrimul numar corect1
512ms2636kbPrimul numar corect1
632ms3980kbPrimul numar corect1
70ms1480kbOK5
80ms820kbOK5
916ms2920kbPrimul numar corect1
1040ms6240kbPrimul numar corect1
1152ms6236kbPrimul numar corect1
12140ms8212kbOK5
13148ms9612kbOK5
14176ms10840kbOK5
15132ms12168kbPrimul numar corect1
16128ms12136kbPrimul numar corect1
17104ms9632kbOK5
18196ms12144kbOK5
19120ms8156kbOK5
20172ms11124kbPrimul numar corect1
Punctaj total56

Ceva nu functioneaza?