Pagini recente » Borderou de evaluare (job #3267811) | Borderou de evaluare (job #119044) | Borderou de evaluare (job #2281832) | Borderou de evaluare (job #3201758) | Borderou de evaluare (job #1488707)
Borderou de evaluare (job #1488707)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:71:46: warning: integer overflow in expression [-Woverflow]
unsigned int fin_cnt = 0, ans = (1 << 31) * 2 - 1;
^
user.cpp:104:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((__bitset[node] == bitset && __dist[node] < cost) || cost >= ans) continue;
^
user.cpp:104:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((__bitset[node] == bitset && __dist[node] < cost) || cost >= ans) continue;
^
user.cpp:106:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bitset == fin_cnt && ans > cost)
^
user.cpp:106:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bitset == fin_cnt && ans > cost)
^
user.cpp:115:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((pos >= 0 && it->cnt < cnt) || cost + it->cost * (cnt + 1) > ans) continue;
^
user.cpp:69:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gather.out", "w", stdout);
^
user.cpp:74:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &K, &N, &M);
^
user.cpp:78:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
mode[x] = 1;
^
user.cpp:83:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &A, &B, &C, &D);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 296kb | Incorect | 0 |
3 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |