Pagini recente » Borderou de evaluare (job #3150362) | Borderou de evaluare (job #2291444) | Borderou de evaluare (job #156580) | Borderou de evaluare (job #2701716) | Borderou de evaluare (job #2224589)
Borderou de evaluare (job #2224589)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:40:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < v[vertex].size(); j++)
~~^~~~~~~~~~~~~~~~~~
user.cpp:30:10: warning: unused variable ‘i’ [-Wunused-variable]
long i, j, vertex, poz;
^
user.cpp: In function ‘int main()’:
user.cpp:68:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d", &n, &m);
^
user.cpp:68:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:71:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c);
^
user.cpp:71:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:71:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:82:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", cost[i]);
^
user.cpp:66:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in", "r", stdin);
^
user.cpp:67:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out", "w", stdout);
^
user.cpp:68:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:71:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1316kb | OK | 5 | 5 |
2 | 0ms | 1320kb | OK | 5 | 5 |
3 | 0ms | 1320kb | OK | 5 | 5 |
4 | 0ms | 1316kb | OK | 5 | 5 |
5 | 0ms | 1340kb | OK | 5 | 5 |
6 | 0ms | 1320kb | OK | 5 | 10 |
7 | 16ms | 1332kb | OK | 5 |
8 | 24ms | 3828kb | OK | 5 | 15 |
9 | 52ms | 3988kb | OK | 5 |
10 | 36ms | 1344kb | OK | 5 |
11 | 44ms | 4128kb | OK | 5 | 20 |
12 | 124ms | 4600kb | OK | 5 |
13 | 92ms | 4404kb | OK | 5 |
14 | 172ms | 4940kb | OK | 5 |
15 | 220ms | 5436kb | OK | 5 | 15 |
16 | 168ms | 4824kb | OK | 5 |
17 | 64ms | 1340kb | OK | 5 |
18 | 252ms | 5768kb | OK | 5 | 15 |
19 | 304ms | 6704kb | OK | 5 |
20 | 212ms | 1364kb | OK | 5 |
Punctaj total | 100 |