Pagini recente » Borderou de evaluare (job #1980317) | Borderou de evaluare (job #1357143) | Borderou de evaluare (job #2097711) | Borderou de evaluare (job #419940) | Borderou de evaluare (job #2387692)
Borderou de evaluare (job #2387692)
Raport evaluator
Compilare:
main.cpp: In function 'bool cuplaj_dfs(int, int)':
main.cpp:17:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < g[from].size(); k ++) {
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:119:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v.size() == n * 2) {
~~~~~~~~~^~~~~~~~
main.cpp:120:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); i ++) {
~~^~~~~~~~~~
main.cpp:57:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dungeon.in", "r", stdin);
^
main.cpp:58:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dungeon.out", "w", stdout);
^
main.cpp:61:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:65:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:69:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:76:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 15ms | 3670kb | OK | 10 |
2 | 16ms | 3670kb | OK | 10 |
3 | 18ms | 3670kb | OK | 6 |
4 | 30ms | 3801kb | OK | 6 |
5 | 84ms | 4325kb | OK | 6 |
6 | 151ms | 5636kb | OK | 6 |
7 | 292ms | 6291kb | OK | 6 |
8 | 771ms | 10874kb | OK | 6 |
9 | 716ms | 9691kb | OK | 6 |
10 | 770ms | 11526kb | OK | 8 |
11 | 131ms | 8777kb | OK | 10 |
12 | 202ms | 9564kb | OK | 10 |
13 | 208ms | 9564kb | OK | 10 |
Punctaj total | 100 |