Pagini recente » Borderou de evaluare (job #3008707) | Borderou de evaluare (job #2485031) | Borderou de evaluare (job #3113932) | Borderou de evaluare (job #3113630) | Borderou de evaluare (job #2979903)
Borderou de evaluare (job #2979903)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:46:19: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for(j=0; j<v[nod].size(); j++)
| ~^~~~~~~~~~~~~~
main.cpp:36:10: warning: unused variable 'i' [-Wunused-variable]
36 | long i, j, nod, poz;
| ^
main.cpp: In function 'int main()':
main.cpp:76:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
76 | scanf("%d%d", &n, &m);
| ~^ ~~
| | |
| int* long int*
| %ld
main.cpp:76:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
76 | scanf("%d%d", &n, &m);
| ~^ ~~
| | |
| int* long int*
| %ld
main.cpp:79:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
79 | scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c);
| ~^ ~~~~~~~
| | |
| int* long int*
| %ld
main.cpp:79:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
79 | scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c);
| ~^ ~~~~~~~
| | |
| int* long int*
| %ld
main.cpp:79:21: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
79 | scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c);
| ~^ ~~~~~~~
| | |
| int* long int*
| %ld
main.cpp:90:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
90 | printf("%d ", cost[i]);
| ~^ ~~~~~~~
| | |
| int long int
| %ld
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 184kb | Incorect | 0 | 0 |
| 2 | 0ms | 184kb | Incorect | 0 | 0 |
| 3 | 0ms | 184kb | Incorect | 0 | 0 |
| 4 | 0ms | 184kb | Incorect | 0 | 0 |
| 5 | 0ms | 184kb | Incorect | 0 | 0 |
| 6 | 0ms | 184kb | Incorect | 0 | 0 |
| 7 | 0ms | 184kb | Incorect | 0 |
| 8 | 10ms | 2740kb | Incorect | 0 | 0 |
| 9 | 25ms | 3813kb | Incorect | 0 |
| 10 | 0ms | 184kb | Incorect | 0 |
| 11 | 15ms | 3522kb | Incorect | 0 | 0 |
| 12 | 65ms | 6643kb | Incorect | 0 |
| 13 | 43ms | 5386kb | Incorect | 0 |
| 14 | 90ms | 8314kb | Incorect | 0 |
| 15 | 115ms | 9953kb | Incorect | 0 | 0 |
| 16 | 89ms | 8146kb | Incorect | 0 |
| 17 | 0ms | 184kb | Incorect | 0 |
| 18 | 137ms | 10678kb | Incorect | 0 | 0 |
| 19 | 166ms | 12709kb | Incorect | 0 |
| 20 | 0ms | 184kb | Incorect | 0 |
| Punctaj total | 0 |