Borderou de evaluare (job #2530494)
Utilizator | Data | 24 ianuarie 2020 21:15:08 | |
---|---|---|---|
Problema | Diagonale | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:6:5: error: 'cin' was not declared in this scope
cin >> n;
^~~
main.cpp:8:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j = 0; j < n; ++j)
^~~
main.cpp:10:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(i == j)
^~
main.cpp:10:16: error: 'i' was not declared in this scope
if(i == j)
^
main.cpp:10:21: error: 'j' was not declared in this scope
if(i == j)
^
main.cpp:15:5: error: 'cout' was not declared in this scope
cout << max(dp, ds);
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !