Pagini recente » Borderou de evaluare (job #1533712) | Borderou de evaluare (job #3296498) | Borderou de evaluare (job #1405619) | Borderou de evaluare (job #174485) | Borderou de evaluare (job #1724086)
Borderou de evaluare (job #1724086)
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 |
1 | 20ms | 11948kb | Incorect | 0 | 0 |
2 | 100ms | 14944kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 100ms | 15020kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 552ms | 24740kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 544ms | 24744kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 544ms | 24748kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 332ms | 24528kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 404ms | 24688kb | Wall time limit exceeded. | 0 |
9 | 412ms | 24688kb | Wall time limit exceeded. | 0 | 0 |
10 | 408ms | 24752kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |