Pagini recente » Borderou de evaluare (job #1498996) | Borderou de evaluare (job #2269108) | Borderou de evaluare (job #3292841) | Borderou de evaluare (job #2736544) | Borderou de evaluare (job #1891062)
Borderou de evaluare (job #1891062)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:46:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<v[nod].size(); j++)
^
user.cpp:36:10: warning: unused variable ‘i’ [-Wunused-variable]
long i, j, nod, poz;
^
user.cpp: In function ‘int main()’:
user.cpp:76:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d", &n, &m);
^
user.cpp:76:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:79: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:79:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:79:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:90:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", cost[i]);
^
user.cpp:74: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:75: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:76: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:79: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 | 872kb | OK | 5 | 5 |
2 | 0ms | 872kb | OK | 5 | 5 |
3 | 0ms | 880kb | OK | 5 | 5 |
4 | 0ms | 876kb | OK | 5 | 5 |
5 | 0ms | 900kb | OK | 5 | 5 |
6 | 0ms | 876kb | OK | 5 | 10 |
7 | 16ms | 876kb | OK | 5 |
8 | 20ms | 1468kb | OK | 5 | 15 |
9 | 48ms | 2040kb | OK | 5 |
10 | 36ms | 888kb | OK | 5 |
11 | 40ms | 1928kb | OK | 5 | 20 |
12 | 116ms | 3436kb | OK | 5 |
13 | 88ms | 2772kb | OK | 5 |
14 | 160ms | 4248kb | OK | 5 |
15 | 208ms | 4928kb | OK | 5 | 15 |
16 | 156ms | 4124kb | OK | 5 |
17 | 60ms | 888kb | OK | 5 |
18 | 240ms | 5348kb | OK | 5 | 15 |
19 | 292ms | 6252kb | OK | 5 |
20 | 216ms | 908kb | OK | 5 |
Punctaj total | 100 |