Borderou de evaluare (job #1188636)

Utilizator SpiderManSimoiu Robert SpiderMan Data 20 mai 2014 02:52:23
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘bool operator<(const muchie&, const muchie&)’: user.cpp:22:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] lhs.x == rhs.x && lhs.y < rhs.y || ^ user.cpp:23:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] lhs.y == rhs.y && lhs.cost < rhs.cost; ^ user.cpp: In function ‘int main()’: user.cpp:75:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN, "r", stdin); ^ user.cpp:76:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOU, "w", stdout); ^ user.cpp:78:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:80:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &value); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbCorect10
20ms280kbCost incorect0
340ms300kbCost incorect0
496ms316kbCost incorect0
588ms320kbCost incorect0
6168msDepăşitMemory limit exceeded.0
7260msDepăşitMemory limit exceeded.0
8Depăşit15640kbTime limit exceeded.0
9Depăşit3520kbTime limit exceeded.0
10248msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?