Pagini recente » Borderou de evaluare (job #2817235) | Borderou de evaluare (job #1004622) | Borderou de evaluare (job #1327822) | Borderou de evaluare (job #1991537) | Borderou de evaluare (job #2481676)
Borderou de evaluare (job #2481676)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:52:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int j = 0; j < graph[node].size(); j++ ){
~~^~~~~~~~~~~~~~~~~~~~
main.cpp:9:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
#define FOR(i, a, b) for( i = a; i <= b; i++ )
^
main.cpp:72:9: note: in expansion of macro 'FOR'
FOR( st, 1, N );
^~~
main.cpp:73:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
dp[i][st] = inf;
^~
main.cpp:80:75: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if ( new_node != node && ( st >> ( new_node - 1 ) & 1 == 0 ) ){
~~^~~~
main.cpp:73:23: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized]
dp[i][st] = inf;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 3ms | 262kb | OK | 5 |
4 | 2ms | 262kb | Incorect | 0 |
5 | 3ms | 262kb | Incorect | 0 |
6 | 3ms | 262kb | Incorect | 0 |
7 | 4ms | 262kb | Incorect | 0 |
8 | 4ms | 262kb | Incorect | 0 |
9 | 4ms | 262kb | Incorect | 0 |
10 | 5ms | 393kb | Incorect | 0 |
11 | 5ms | 393kb | Incorect | 0 |
12 | 7ms | 393kb | Incorect | 0 |
13 | 4ms | 393kb | Incorect | 0 |
14 | 10ms | 393kb | Incorect | 0 |
15 | 12ms | 524kb | Incorect | 0 |
16 | 17ms | 524kb | Incorect | 0 |
17 | 21ms | 524kb | Incorect | 0 |
18 | 24ms | 655kb | Incorect | 0 |
19 | 33ms | 786kb | Incorect | 0 |
20 | 3ms | 131kb | OK | 5 |
Punctaj total | 20 |