Pagini recente » Borderou de evaluare (job #1091422) | Borderou de evaluare (job #3239500) | Borderou de evaluare (job #2618514) | Borderou de evaluare (job #267671) | Borderou de evaluare (job #1227697)
Borderou de evaluare (job #1227697)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < dist[q.front().p].size(); i++) {
^
user.cpp:67:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(f[tmp.p] && (tmp.d < dab[inv[tmp.s]][inv[tmp.p]]) || (dab[inv[tmp.s]][inv[tmp.p]] == 0)) {
^
user.cpp:71:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
} else if(!f[tmp.p] && !viz[inv[tmp.s]][tmp.p] || viz[inv[tmp.s]][tmp.p] > tmp.d) {
^
user.cpp:32: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:33: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:34:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &N, &M);
^
user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &K);
^
user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &j);
^
user.cpp:50:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld", &s, &ff, &d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | Incorect | 0 |
2 | 0ms | 312kb | Incorect | 0 |
3 | 0ms | 320kb | Incorect | 0 |
4 | 0ms | 332kb | Incorect | 0 |
5 | 0ms | 344kb | Incorect | 0 |
6 | 0ms | 360kb | Incorect | 0 |
7 | 0ms | 384kb | Incorect | 0 |
8 | 0ms | 408kb | Incorect | 0 |
9 | 0ms | 492kb | Incorect | 0 |
10 | 4ms | 584kb | Incorect | 0 |
11 | 4ms | 764kb | Incorect | 0 |
12 | 4ms | 764kb | Incorect | 0 |
13 | Depăşit | 1496kb | Time limit exceeded. | 0 |
14 | Depăşit | 2996kb | Time limit exceeded. | 0 |
15 | Depăşit | 3020kb | Time limit exceeded. | 0 |
16 | Depăşit | 3052kb | Time limit exceeded. | 0 |
17 | Depăşit | 3412kb | Time limit exceeded. | 0 |
18 | Depăşit | 3764kb | Time limit exceeded. | 0 |
19 | Depăşit | 4616kb | Time limit exceeded. | 0 |
20 | 0ms | 312kb | Incorect | 0 |
Punctaj total | 0 |