Borderou de evaluare (job #2284069)
Utilizator | AlShaytan - Balasescu Rares rares404 | Data | 16 noiembrie 2018 18:56:32 |
---|---|---|---|
Problema | PScPld | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int GetPal()':
main.cpp:16:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < v.size() ; ++ i) {
~~^~~~~~~~~~
main.cpp:21:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i + pos < v.size() && i - pos >= 0 && v[i - pos] == v[i + pos])
~~~~~~~~^~~~~~~~~~
main.cpp:30:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < L.size() ; ++ i) {
~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:41:12: error: 'gets' was not declared in this scope
gets(ch) ;
^
main.cpp:38:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.in", "r", stdin) ;
^
main.cpp:39:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.out", "w", stdout) ;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !