Borderou de evaluare (job #2059875)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 7 noiembrie 2017 18:22:05
Problema Tramvai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘Point Intersect(Line, Line)’: user.cpp:97:30: warning: overflow in implicit constant conversion [-Woverflow] return Point(INF, INF); ^ user.cpp:97:30: warning: overflow in implicit constant conversion [-Woverflow] user.cpp: In function ‘void MakeGraph(int, int, int, int, int, int&, int&)’: user.cpp:117:45: warning: overflow in implicit constant conversion [-Woverflow] if (meet[i][j] == Point(INF, INF)) ^ user.cpp:117:45: warning: overflow in implicit constant conversion [-Woverflow] user.cpp:130:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 1; j < onLine[i].size(); j++) { ^ user.cpp: In function ‘void AStar(int, int)’: user.cpp:138:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < nodes.size(); i++) ^ user.cpp: In function ‘char Advance()’: user.cpp:27:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, SIZE, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:160:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tramvai.in", "r", stdin); ^ user.cpp:161:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tramvai.out", "w", stdout); ^ user.cpp:163:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:166:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf%lf%lf", &a.x, &a.y, &b.x, &b.y); ^ user.cpp:170:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &ls1, &ls2, &lf1, &lf2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
128ms27732kbraspuns gresit00
236ms28248kbraspuns gresit0
3784ms65892kbraspuns gresit0
4988ms75488kbraspuns gresit0
51208ms77596kbraspuns gresit0
61040ms76660kbcorect10
71028ms76396kbcorect10
81040ms76664kbraspuns gresit0
91056ms76660kbraspuns gresit0
10768ms75344kbraspuns gresit0
Punctaj total0

Ceva nu functioneaza?