Borderou de evaluare (job #2409336)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:80:40: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
for(int i = 1; (int)cur.size()-1-(1<<i-1) >= 0 ; ++i) {
~^~
main.cpp:81:71: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
dp[i][node] = max(dp[i-1][node], dp[i-1][cur[(int)cur.size()-1-(1<<i-1)]]);
~^~
main.cpp: In function 'int main()':
main.cpp:97:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("termite.in", "r", stdin);
^
main.cpp:98:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("termite.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 14548kb | Incorect | 0 |
2 | 32ms | 14548kb | Incorect | 0 |
3 | 113ms | 17432kb | Incorect | 0 |
4 | 188ms | 20873kb | Incorect | 0 |
5 | 266ms | 23228kb | Incorect | 0 |
6 | 288ms | 23748kb | Incorect | 0 |
7 | 433ms | 28860kb | Incorect | 0 |
8 | 552ms | 32133kb | Incorect | 0 |
9 | 562ms | 32133kb | Incorect | 0 |
10 | 579ms | 32133kb | Incorect | 0 |
Punctaj total | 0 |