Borderou de evaluare (job #2284067)
| Utilizator | Data | 16 noiembrie 2018 18:49:29 | |
|---|---|---|---|
| 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:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < v.size() ; ++ i) {
~~^~~~~~~~~~
main.cpp:19: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:28: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:39:12: error: 'gets' was not declared in this scope
gets(ch) ;
^
main.cpp:36: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:37: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 !
