Borderou de evaluare (job #2534174)
Utilizator | Data | 30 ianuarie 2020 10:18:02 | |
---|---|---|---|
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:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1; i<=n; i++)
^~~
main.cpp:24:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
maxs=dp[1];
^~~~
main.cpp:25:21: error: unable to find numeric literal operator 'operator""n'
for(i=1; i<=2n-1; i++)
^~
main.cpp:25:21: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
main.cpp: At global scope:
main.cpp:34:5: error: 'fout' does not name a type
fout<<maxs;
^~~~
main.cpp:35:5: error: expected unqualified-id before 'return'
return 0;
^~~~~~
main.cpp:36:1: error: expected declaration before '}' token
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !