Borderou de evaluare (job #804584)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Dreptunghiuri | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 ian. 2025 10:16:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: warning: 'typedef' was ignored in this declaration
5 | typedef struct dreptunghi{
| ^~~~~~~
main.cpp: In function 'int maxx(std::vector<dreptunghi>)':
main.cpp:19:5: error: 'vi' was not declared in this scope
19 | vi dp(n+1, 1);
| ^~
main.cpp:20:5: error: 'dp' was not declared in this scope; did you mean 'dup'?
20 | dp[0]=0;
| ^~
| dup