Borderou de evaluare (job #2732852)
Utilizator | Data | 29 martie 2021 14:23:12 | |
---|---|---|---|
Problema | Dist | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:19:15: error: 'gets' was not declared in this scope
gets(sir+1);
^
main.cpp:51:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0; k<cuv[i].size(); k++) s+=cuv[i][k]-'@';
~^~~~~~~~~~~~~~
main.cpp:61:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k<=cuv[i].size())
~^~~~~~~~~~~~~~~
main.cpp:16:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dist.in","r",stdin);
^
main.cpp:17:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dist.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 !