Pagini recente » Borderou de evaluare (job #3000992) | Borderou de evaluare (job #449862) | Borderou de evaluare (job #1346028) | Borderou de evaluare (job #374559) | Borderou de evaluare (job #2573300)
Borderou de evaluare (job #2573300)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:45:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<v[nod].size(); j++)
~^~~~~~~~~~~~~~
main.cpp:36:10: warning: unused variable 'i' [-Wunused-variable]
long i, j, nod, poz;
^
main.cpp: In function 'int main()':
main.cpp:74:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d%d", &n, &m);
^
main.cpp:74:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:77: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);
^
main.cpp:77:50: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:77:50: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
main.cpp:88:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ", cost[i]);
^
main.cpp:72: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);
^
main.cpp:73: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);
^
main.cpp:74:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:77: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 | 4ms | 1310kb | Incorect | 0 | 0 |
2 | 4ms | 1310kb | Incorect | 0 | 0 |
3 | 4ms | 1310kb | Incorect | 0 | 0 |
4 | 4ms | 1310kb | Incorect | 0 | 0 |
5 | 6ms | 1441kb | Incorect | 0 | 0 |
6 | 5ms | 1310kb | Incorect | 0 | 0 |
7 | 5ms | 1310kb | Incorect | 0 |
8 | 32ms | 2621kb | Incorect | 0 | 0 |
9 | 70ms | 3670kb | Incorect | 0 |
10 | 5ms | 1441kb | Incorect | 0 |
11 | 53ms | 3538kb | Incorect | 0 | 0 |
12 | 159ms | 6684kb | Incorect | 0 |
13 | 122ms | 5242kb | Incorect | 0 |
14 | 210ms | 8257kb | Incorect | 0 |
15 | 267ms | 9830kb | Incorect | 0 | 0 |
16 | 204ms | 8122kb | Incorect | 0 |
17 | 6ms | 1441kb | Incorect | 0 |
18 | 303ms | 10739kb | Incorect | 0 | 0 |
19 | 352ms | 12574kb | Incorect | 0 |
20 | 5ms | 1441kb | Incorect | 0 |
Punctaj total | 0 |