Borderou de evaluare (job #84799)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | MaxXor (clasele 10-12) | Compilator | cpp |
Rundă | Baraj Șumen seniori 2014 - etapa 1 | Status | evaluat |
Dată | 6 nov. 2014 16:00:55 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:13: error: ‘int select [10000]’ redeclared as different kind of symbol
/usr/include/i386-linux-gnu/sys/select.h:107:12: error: previous declaration of ‘int select(int, fd_set*, fd_set*, fd_set*, timeval*)’
user.cpp:16:1: error: ‘out’ does not name a type
user.cpp: In function ‘void rez()’:
user.cpp:53:24: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:53:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:53:60: error: ‘rasp’ was not declared in this scope
user.cpp:54:32: error: ‘rasp’ was not declared in this scope
user.cpp:56:16: error: expected primary-expression before ‘)’ token
user.cpp:58:9: error: expected primary-expression before ‘}’ token
user.cpp:58:9: error: expected ‘;’ before ‘}’ token
user.cpp: In function ‘void citire()’:
user.cpp:27:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:30:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]