Pagini recente » Borderou de evaluare (job #1293603) | Borderou de evaluare (job #1155250) | Borderou de evaluare (job #2955670) | Borderou de evaluare (job #463751) | Borderou de evaluare (job #1724264)
Borderou de evaluare (job #1724264)
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 |
1 | 4ms | 3164kb | Incorect | 0 | 0 |
2 | 368ms | 6588kb | Incorect | 0 | 0 |
3 | 416ms | 6668kb | OK | 10 | 10 |
4 | 536ms | 16000kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 532ms | 15972kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 536ms | 16000kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 332ms | 15776kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 396ms | 15916kb | Wall time limit exceeded. | 0 |
9 | 396ms | 15916kb | Wall time limit exceeded. | 0 | 0 |
10 | 404ms | 16004kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |