Borderou de evaluare (job #516509)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Joc8 (clasa a 7-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 31 dec. 2019 16:28:13 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:16: error: 'int read [13][13]' redeclared as different kind of symbol
/usr/include/i386-linux-gnu/bits/unistd.h:35:1: error: previous declaration of 'ssize_t read(int, void*, size_t)'
user.cpp: In function 'int main()':
user.cpp:18:15: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:18:18: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:18:34: error: assignment of read-only location '*(read + (((unsigned int)i) + ((unsigned int)j)))'
user.cpp:18:34: error: cannot convert 'std::basic_istream<char>::int_type {aka int}' to 'ssize_t(int, void*, size_t) {aka int(int, void*, unsigned int)}' in assignment
user.cpp:19:22: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:19:25: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:19:25: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:19:25: error: invalid conversion from 'ssize_t (*)(int, void*, size_t) {aka int (*)(int, void*, unsigned int)}' to 'int' [-fpermissive]
user.cpp:35:43: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:35:46: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:48:20: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:48:23: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
user.cpp:11:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]