Pagini recente » Borderou de evaluare (job #1098947) | Borderou de evaluare (job #2384390) | Borderou de evaluare (job #1177355) | Borderou de evaluare (job #500727) | Borderou de evaluare (job #1277318)
Borderou de evaluare (job #1277318)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:26:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < G[x].size(); i++)
^
user.cpp:17:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k, val, x;
^
user.cpp:17:15: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k, val, x;
^
user.cpp: In function ‘int main()’:
user.cpp:34: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:35: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:39: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:42: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 | 1436kb | OK | 10 |
2 | 0ms | 1440kb | OK | 10 |
3 | 4ms | 1480kb | OK | 10 |
4 | 4ms | 1500kb | OK | 10 |
5 | 28ms | 1908kb | OK | 10 |
6 | 56ms | 2332kb | OK | 10 |
7 | 76ms | 2580kb | OK | 10 |
8 | 92ms | 2904kb | OK | 10 |
9 | 292ms | 5236kb | OK | 10 |
10 | 380ms | 6264kb | OK | 10 |
Punctaj total | 100 |