Pagini recente » Borderou de evaluare (job #2939852) | Borderou de evaluare (job #1865210) | Borderou de evaluare (job #1139409) | Borderou de evaluare (job #2047897) | Borderou de evaluare (job #1821887)
Borderou de evaluare (job #1821887)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int, int)’:
user.cpp:32:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < v[start].size(); i++)
^
user.cpp:46:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < v[a].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:101:37: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
sol = min(sol, mat[i][BIT(k + 1) - 1] + dist[i][n - 1]);
^
user.cpp:7:21: note: in definition of macro ‘min’
#define min(x,y) (x<y?x:y)
^
user.cpp:101:31: note: in expansion of macro ‘BIT’
sol = min(sol, mat[i][BIT(k + 1) - 1] + dist[i][n - 1]);
^
user.cpp:101:37: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
sol = min(sol, mat[i][BIT(k + 1) - 1] + dist[i][n - 1]);
^
user.cpp:7:25: note: in definition of macro ‘min’
#define min(x,y) (x<y?x:y)
^
user.cpp:101:31: note: in expansion of macro ‘BIT’
sol = min(sol, mat[i][BIT(k + 1) - 1] + dist[i][n - 1]);
^
user.cpp:61:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.in", "r", stdin);
^
user.cpp:62:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.out", "w", stdout);
^
user.cpp:63:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
user.cpp:67:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &vk[i]);
^
user.cpp:72:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 4408kb | Incorect | 0 |
| 2 | 0ms | 1344kb | Incorect | 0 |
| 3 | 0ms | 332kb | Incorect | 0 |
| 4 | 8ms | 4512kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 20ms | 2636kb | Incorect | 0 |
| 6 | 0ms | 364kb | Incorect | 0 |
| 7 | 0ms | 420kb | OK | 5 |
| 8 | 0ms | 440kb | Incorect | 0 |
| 9 | 0ms | 480kb | Incorect | 0 |
| 10 | 0ms | 496kb | Incorect | 0 |
| 11 | 0ms | 512kb | Incorect | 0 |
| 12 | 0ms | 508kb | Incorect | 0 |
| 13 | 0ms | 528kb | Incorect | 0 |
| 14 | 24ms | 4616kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 16ms | 1600kb | Incorect | 0 |
| 16 | 12ms | 712kb | Incorect | 0 |
| 17 | 16ms | 672kb | Incorect | 0 |
| 18 | 32ms | 4732kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 80ms | 4844kb | OK | 5 |
| 20 | 0ms | 312kb | Incorect | 0 |
| Punctaj total | 10 |