Borderou de evaluare (job #1724264)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 2 iulie 2016 17:22:54
Problema Trenuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:82:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < o[i].size() - 1; j++) { ^ user.cpp:120:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int64_t {aka long long int}’ [-Wformat=] printf("%d %d\n", r + 1, getCost(r + 1)); ^ user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trenuri.in", "r", stdin); ^ user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trenuri.out", "w", stdout); ^ user.cpp:52:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &m, &b); ^ user.cpp:57:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d", &a, &b, &c, &p, &s); ^ user.cpp: In function ‘int64_t getCost(int)’: user.cpp:33:13: warning: array subscript is below array bounds [-Warray-bounds] bst_wait[v] = 0; ^ user.cpp:34:15: warning: array subscript is below array bounds [-Warray-bounds] bst_nowait[v] = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms3164kbIncorect00
2368ms6588kbIncorect00
3416ms6668kbOK1010
4536ms16000kbKilled by signal 11(SIGSEGV).00
5532ms15972kbKilled by signal 11(SIGSEGV).00
6536ms16000kbKilled by signal 11(SIGSEGV).00
7332ms15776kbKilled by signal 11(SIGSEGV).00
8396ms15916kbWall time limit exceeded.0
9396ms15916kbWall time limit exceeded.00
10404ms16004kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?