Borderou de evaluare (job #1724086)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 2 iulie 2016 12:23:08
Problema Trenuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:85:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < o[i].size() - 1; j++) { ^ user.cpp:123: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:52: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:53: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:55: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:60: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:34:19: warning: array subscript is below array bounds [-Warray-bounds] bst1[v] = bst2[v] = 0; ^ user.cpp:34:9: warning: array subscript is below array bounds [-Warray-bounds] bst1[v] = bst2[v] = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
120ms11948kbIncorect00
2100ms14944kbKilled by signal 11(SIGSEGV).00
3100ms15020kbKilled by signal 11(SIGSEGV).00
4552ms24740kbKilled by signal 11(SIGSEGV).00
5544ms24744kbKilled by signal 11(SIGSEGV).00
6544ms24748kbKilled by signal 11(SIGSEGV).00
7332ms24528kbKilled by signal 11(SIGSEGV).00
8404ms24688kbWall time limit exceeded.0
9412ms24688kbWall time limit exceeded.00
10408ms24752kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?