Pagini recente » Borderou de evaluare (job #3226482) | Borderou de evaluare (job #3222388) | Borderou de evaluare (job #2600150) | Borderou de evaluare (job #3146842) | Borderou de evaluare (job #2538804)
Borderou de evaluare (job #2538804)
Raport evaluator
Compilare:
main.cpp: In function 'int Solve_Good()':
main.cpp:69:42: warning: self-comparison always evaluates to false [-Wtautological-compare]
if (mask[i.v] | cur.mask != cur.mask && dp[i.v][cur.mask] == -1 || dp[i.v][cur.mask] > dp[cur.nod][cur.mask] + (sz + 1) * i.lng) {
~~~~~~~~~^~~~~~~~~~~
main.cpp:69:42: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
main.cpp:69:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (mask[i.v] | cur.mask != cur.mask && dp[i.v][cur.mask] == -1 || dp[i.v][cur.mask] > dp[cur.nod][cur.mask] + (sz + 1) * i.lng) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'bool Gen::Check()':
main.cpp:93:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 262kb | Incorect | 0 |
3 | 3ms | 262kb | OK | 10 |
4 | 27ms | 1290kb | OK | 10 |
5 | 301ms | 5636kb | Time limit exceeded | 0 |
6 | 302ms | 5242kb | Time limit exceeded | 0 |
7 | 301ms | 8257kb | Time limit exceeded | 0 |
8 | 41ms | 20496kb | Memory limit exceeded | 0 |
9 | 41ms | 20496kb | Memory limit exceeded | 0 |
10 | 41ms | 20496kb | Memory limit exceeded | 0 |
Punctaj total | 30 |