Pagini recente » Borderou de evaluare (job #1650742) | Cod sursa (job #889601) | Borderou de evaluare (job #1561960) | Cod sursa (job #467899) | Borderou de evaluare (job #1559586)
Borderou de evaluare (job #1559586)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:89:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < G[x].size(); i++)
^
user.cpp:80:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k, val, x;
^
user.cpp:80:15: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k, val, x;
^
user.cpp: In function ‘int main()’:
user.cpp:97:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "rt", stdin);
^
user.cpp:98:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "wt", stdout);
^
user.cpp:102:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:105:64: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &a, &b, &c), G[a].pb(b), C[a].pb(c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1440kb | OK | 10 |
| 2 | 0ms | 1440kb | OK | 10 |
| 3 | 4ms | 1484kb | OK | 10 |
| 4 | 4ms | 1504kb | OK | 10 |
| 5 | 36ms | 1912kb | OK | 10 |
| 6 | 72ms | 2332kb | OK | 10 |
| 7 | 96ms | 2584kb | OK | 10 |
| 8 | 108ms | 2904kb | OK | 10 |
| 9 | 336ms | 5240kb | OK | 10 |
| 10 | Depăşit | 6268kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |