Pagini recente » Borderou de evaluare (job #1967568) | Borderou de evaluare (job #1795575) | Borderou de evaluare (job #3204159) | Borderou de evaluare (job #2922891) | Borderou de evaluare (job #1887776)
Borderou de evaluare (job #1887776)
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 | 852kb | OK | 5 | 5 |
2 | 0ms | 852kb | OK | 5 | 5 |
3 | 0ms | 860kb | OK | 5 | 5 |
4 | 0ms | 864kb | OK | 5 | 5 |
5 | 0ms | 880kb | OK | 5 | 5 |
6 | 0ms | 864kb | OK | 5 | 10 |
7 | 4ms | 856kb | OK | 5 |
8 | 28ms | 1456kb | OK | 5 | 0 |
9 | Depăşit | 1948kb | Time limit exceeded. | 0 |
10 | 12ms | 864kb | OK | 5 |
11 | 40ms | 1908kb | OK | 5 | 0 |
12 | Depăşit | 3324kb | Time limit exceeded. | 0 |
13 | Depăşit | 2660kb | Time limit exceeded. | 0 |
14 | Depăşit | 4148kb | Time limit exceeded. | 0 |
15 | Depăşit | 4884kb | Time limit exceeded. | 0 | 0 |
16 | Depăşit | 3988kb | Time limit exceeded. | 0 |
17 | 16ms | 868kb | OK | 5 |
18 | Depăşit | 5240kb | Time limit exceeded. | 0 | 0 |
19 | Depăşit | 6188kb | Time limit exceeded. | 0 |
20 | 44ms | 892kb | OK | 5 |
Punctaj total | 35 |