Pagini recente » Borderou de evaluare (job #2412734) | Borderou de evaluare (job #1599648) | Borderou de evaluare (job #2605522) | Borderou de evaluare (job #1112674) | Borderou de evaluare (job #2764830)
Borderou de evaluare (job #2764830)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:46: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:76:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d%d", &n, &m);
^
main.cpp:76:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.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);
^
main.cpp:79:50: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:79:50: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
main.cpp:90:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ", cost[i]);
^
main.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);
^
main.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);
^
main.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);
^
main.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 | 3ms | 1310kb | Incorect | 0 | 0 |
| 2 | 4ms | 1310kb | Incorect | 0 | 0 |
| 3 | 4ms | 1310kb | Incorect | 0 | 0 |
| 4 | 4ms | 1310kb | Incorect | 0 | 0 |
| 5 | 5ms | 1441kb | Incorect | 0 | 0 |
| 6 | 4ms | 1310kb | Incorect | 0 | 0 |
| 7 | 5ms | 1310kb | Incorect | 0 |
| 8 | 31ms | 2621kb | Incorect | 0 | 0 |
| 9 | 69ms | 3670kb | Incorect | 0 |
| 10 | 5ms | 1310kb | Incorect | 0 |
| 11 | 53ms | 3538kb | Incorect | 0 | 0 |
| 12 | 175ms | 6569kb | Incorect | 0 |
| 13 | 129ms | 5242kb | Incorect | 0 |
| 14 | 218ms | 8257kb | Incorect | 0 |
| 15 | 265ms | 9830kb | Incorect | 0 | 0 |
| 16 | 205ms | 7991kb | Incorect | 0 |
| 17 | 5ms | 1441kb | Incorect | 0 |
| 18 | 309ms | 10612kb | Incorect | 0 | 0 |
| 19 | 368ms | 12574kb | Incorect | 0 |
| 20 | 6ms | 1441kb | Incorect | 0 |
| Punctaj total | 0 |