Borderou de evaluare (job #2689424)
Utilizator | Data | 20 decembrie 2020 18:28:42 | |
---|---|---|---|
Problema | Secventa 5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
#define MAX 1 << 20 + 1
~~~^~~
main.cpp:5:26: note: in expansion of macro 'MAX'
pair< unsigned, int > v[ MAX ];
^~~
main.cpp:3:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
#define MAX 1 << 20 + 1
~~~^~~
main.cpp:6:13: note: in expansion of macro 'MAX'
unsigned a[ MAX ], f[ MAX ];
^~~
main.cpp:3:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
#define MAX 1 << 20 + 1
~~~^~~
main.cpp:6:23: note: in expansion of macro 'MAX'
unsigned a[ MAX ], f[ MAX ];
^~~
main.cpp: In function 'long long int caca(int)':
main.cpp:15:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( pipi <= i && cate == limita ){
~~~~~^~~~
main.cpp:15:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( pipi <= i && cate == limita ){
~~~~~^~~~~~~~~
main.cpp: In function 'int read_int()':
main.cpp:31:44: error: 'isdigit' was not declared in this scope
while( !isdigit( ( ch = fgetc( fin ) ) ) );
^
main.cpp:34:43: error: 'isdigit' was not declared in this scope
while( isdigit( ( ch = fgetc( fin ) ) ) );
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !