Borderou de evaluare (job #1930456)
Utilizator | Data | 18 martie 2017 21:52:40 | |
---|---|---|---|
Problema | Copii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool check()’:
user.cpp:19:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i=0;i<t.size();i++ )
^
user.cpp: In function ‘void bkt(int)’:
user.cpp:47:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i=0;i<t.size();i++ )
^
user.cpp: In function ‘int main()’:
user.cpp:77:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf( "%d", n );
^
user.cpp:91:9: error: too few arguments to function ‘void bkt(int)’
bkt();
^
user.cpp:37:6: note: declared here
void bkt( int p )
^
user.cpp:71:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "copii.in", "r", stdin );
^
user.cpp:72:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "copii.out", "w", stdout );
^
user.cpp:77:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", n );
^
user.cpp:81:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "\n" );
^
user.cpp:85:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%c", &c );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !