Pagini recente » Borderou de evaluare (job #1487266) | Borderou de evaluare (job #721775) | Borderou de evaluare (job #1040656) | Borderou de evaluare (job #2498472) | Borderou de evaluare (job #2409334)
Borderou de evaluare (job #2409334)
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:159:7: warning: unused variable 'dif' [-Wunused-variable]
int dif = lvl[a] - lvl[b];
^~~
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 | OK | 10 |
2 | 32ms | 14548kb | OK | 10 |
3 | 147ms | 17694kb | OK | 10 |
4 | 289ms | 21528kb | OK | 10 |
5 | 387ms | 24014kb | OK | 10 |
6 | 427ms | 24666kb | OK | 10 |
7 | 731ms | 30302kb | OK | 10 |
8 | 873ms | 34099kb | OK | 10 |
9 | 809ms | 34099kb | OK | 10 |
10 | 738ms | 33968kb | OK | 10 |
Punctaj total | 100 |