Borderou de evaluare (job #1492438)
Utilizator | Data | 27 septembrie 2015 18:54:16 | |
---|---|---|---|
Problema | Secv2m | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void deque_in(int)’:
user.cpp:54:48: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
while ( L <= R && bst[use] >= bst[D[R]][use])
^
user.cpp: In function ‘int main()’:
user.cpp:68:61: error: incompatible types in assignment of ‘int’ to ‘int [2]’
for (int j=0; j<=1; j++) for (int i=1; i<=n; i++) bst[j]=-1;
^
user.cpp:88:47: error: incompatible types in assignment of ‘int’ to ‘int [2]’
for (int i=1; i<=n; i++) bst[use]=MAXV;
^
user.cpp:105:25: error: incompatible types in assignment of ‘int’ to ‘int [2]’
bst[1-use] = bst[D[l]][use];
^
user.cpp:116:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bcrc.out", "w", stdout);
^
user.cpp: In constructor ‘InputReader::InputReader(const char*)’:
user.cpp:21:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, SIZE, 1, input_file);
^
user.cpp: In member function ‘void InputReader::advance()’:
user.cpp:48:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, SIZE, 1, input_file);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !