Borderou de evaluare (job #3332756)
| Utilizator | Data | 9 ianuarie 2026 08:16:29 | |
|---|---|---|---|
| Problema | Asmax | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void init()':
main.cpp:18:9: error: 'dp' was not declared in this scope; did you mean 'dup'?
18 | dp[i]=-1e9;
| ^~
| dup
main.cpp: In function 'void dfs(int)':
main.cpp:24:5: error: 'dp' was not declared in this scope; did you mean 'dup'?
24 | dp[node]=v[node];
| ^~
| dup
main.cpp: In function 'int main()':
main.cpp:53:2: error: expected ';' before 'for'
53 | 1
| ^
| ;
54 | for (i=1; i<=n; i++)
| ~~~
main.cpp:53:1: warning: statement has no effect [-Wunused-value]
53 | 1
| ^
main.cpp:54:16: warning: statement has no effect [-Wunused-value]
54 | for (i=1; i<=n; i++)
| ~^~~
main.cpp:54:24: error: expected ';' before ')' token
54 | for (i=1; i<=n; i++)
| ^
| ;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
