Pagini recente » Borderou de evaluare (job #3241158) | Borderou de evaluare (job #655635) | Borderou de evaluare (job #2967827) | Borderou de evaluare (job #63453) | Borderou de evaluare (job #2967859)
Borderou de evaluare (job #2967859)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:32:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i=0;i<v[val].size();i++)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'int solve()':
main.cpp:48:21: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
48 | frev[i] = 0;
| ~~~~~~~~^~~
main.cpp:47:22: note: within this loop
47 | for(int i=1;i<=100005;i++)
| ~^~~~~~~~
main.cpp:48:21: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset 100005 is out of the bounds [0, 100005] of object 'frev' with type 'bool [100005]' [-Warray-bounds]
48 | frev[i] = 0;
| ~~~~~~~~^~~
main.cpp:16:6: note: 'frev' declared here
16 | bool frev[100005];
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Incorect | 0 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 0ms | 184kb | Incorect | 0 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 0ms | 184kb | Incorect | 0 |
6 | 3ms | 2805kb | Incorect | 0 |
7 | 32ms | 4112kb | Incorect | 0 |
8 | 53ms | 5160kb | Incorect | 0 |
9 | 74ms | 6082kb | Incorect | 0 |
10 | 0ms | 184kb | Incorect | 0 |
Punctaj total | 0 |