Pagini recente » Borderou de evaluare (job #1689464) | Borderou de evaluare (job #2248940) | Borderou de evaluare (job #2324100) | Borderou de evaluare (job #1624874) | Borderou de evaluare (job #2409338)
Borderou de evaluare (job #2409338)
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:160:7: warning: unused variable 'ans' [-Wunused-variable]
int ans = min(dist[a], dist[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 | Incorect | 0 |
2 | 33ms | 14548kb | Incorect | 0 |
3 | 139ms | 17432kb | Incorect | 0 |
4 | 271ms | 21135kb | Incorect | 0 |
5 | 393ms | 23490kb | Incorect | 0 |
6 | 417ms | 24141kb | Incorect | 0 |
7 | 606ms | 29384kb | Incorect | 0 |
8 | 706ms | 32788kb | Incorect | 0 |
9 | 865ms | 32788kb | Incorect | 0 |
10 | 865ms | 32788kb | Incorect | 0 |
Punctaj total | 0 |