Borderou de evaluare (job #1897016)
Utilizator | Data | 1 martie 2017 08:59:30 | |
---|---|---|---|
Problema | Distante | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:61:24: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
freopen("distante.out"","w",stdout);
^
user.cpp:61:28: warning: missing terminating " character [enabled by default]
freopen("distante.out"","w",stdout);
^
user.cpp:61:2: error: missing terminating " character
freopen("distante.out"","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:61:27: error: expected ‘)’ before ‘w’
freopen("distante.out"","w",stdout);
^
user.cpp:82:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<ar.size();i++)
^
user.cpp:60:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distante.in","r",stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !