Borderou de evaluare (job #2325526)
Utilizator | Data | 22 ianuarie 2019 18:37:35 | |
---|---|---|---|
Problema | Stiva | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void comp(int, int)':
main.cpp:45:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(t+st.size()<min1)
~~~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:53:13: error: 'gets' was not declared in this scope
gets(s+1);
^
main.cpp:52:9: warning: unused variable 'i' [-Wunused-variable]
int i;
^
main.cpp:50:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stiva.in","r",stdin);
^
main.cpp:51:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stiva.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 !