Borderou de evaluare (job #2505962)
Utilizator | Data | 7 decembrie 2019 12:20:40 | |
---|---|---|---|
Problema | Energii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:5: error: 'in' was not declared in this scope
in>>n>>gr;
^~
main.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1; i<=n; i++)
^~~
main.cpp:15:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=gr;i++)
^~~
main.cpp:31:5: error: 'out' was not declared in this scope
out<<dp[1-k][gr];
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !