Pagini recente » Borderou de evaluare (job #624566) | Borderou de evaluare (job #2255952)
Borderou de evaluare (job #2255952)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:18:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<graph[start_node].size();i++)
~^~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.in", "r", stdin);
^
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.out", "w", stdout);
^
user.cpp:32: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:36:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:53:15: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
s+=dfs(k);
~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1896kb | OK | 5 |
2 | 0ms | 1900kb | OK | 5 |
3 | 0ms | 1896kb | OK | 5 |
4 | 12ms | 2124kb | OK | 5 |
5 | 0ms | 1904kb | OK | 5 |
6 | 0ms | 1904kb | OK | 5 |
7 | 0ms | 1912kb | OK | 5 |
8 | 4ms | 1948kb | OK | 5 |
9 | 4ms | 1960kb | OK | 5 |
10 | 4ms | 1968kb | OK | 5 |
11 | 28ms | 2644kb | OK | 5 |
12 | 52ms | 2444kb | OK | 5 |
13 | 100ms | 2716kb | OK | 5 |
14 | Depăşit | 2612kb | Time limit exceeded. | 0 |
15 | Depăşit | 2924kb | Time limit exceeded. | 0 |
16 | Depăşit | 3180kb | Time limit exceeded. | 0 |
17 | 80ms | 6672kb | OK | 5 |
18 | Depăşit | 1912kb | Time limit exceeded. | 0 |
19 | Depăşit | 2056kb | Time limit exceeded. | 0 |
20 | Depăşit | 3320kb | Time limit exceeded. | 0 |
Punctaj total | 70 |