Borderou de evaluare (job #2260617)
Utilizator | Data | 15 octombrie 2018 11:31:47 | |
---|---|---|---|
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 main()':
main.cpp:12:11: error: 'gets' was not declared in this scope
gets(s);
^
main.cpp:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<strlen(s); ++i)
~^~~~~~~~~~
main.cpp:11:9: warning: unused variable 'n' [-Wunused-variable]
int n,i,j,k,m,l,lmax,r,c;
^
main.cpp:11:13: warning: unused variable 'j' [-Wunused-variable]
int n,i,j,k,m,l,lmax,r,c;
^
main.cpp:11:17: warning: unused variable 'm' [-Wunused-variable]
int n,i,j,k,m,l,lmax,r,c;
^
main.cpp:11:21: warning: unused variable 'lmax' [-Wunused-variable]
int n,i,j,k,m,l,lmax,r,c;
^~~~
main.cpp:9:35: 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:10:37: 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);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !