Borderou de evaluare (job #434120)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Antitir | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 12 feb. 2019 19:25:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:12: error: no matching function for call to ‘read(long long int&)’
user.cpp:37:12: note: candidates are:
/usr/include/i386-linux-gnu/bits/unistd.h:35:1: note: ssize_t read(int, void*, size_t)
/usr/include/i386-linux-gnu/bits/unistd.h:35:1: note: candidate expects 3 arguments, 1 provided
user.cpp:10:6: note: void read(int&)
user.cpp:10:6: note: no known conversion for argument 1 from ‘long long int’ to ‘int&’
user.cpp:37:24: error: no matching function for call to ‘read(long long int&)’
user.cpp:37:24: note: candidates are:
/usr/include/i386-linux-gnu/bits/unistd.h:35:1: note: ssize_t read(int, void*, size_t)
/usr/include/i386-linux-gnu/bits/unistd.h:35:1: note: candidate expects 3 arguments, 1 provided
user.cpp:10:6: note: void read(int&)
user.cpp:10:6: note: no known conversion for argument 1 from ‘long long int’ to ‘int&’
user.cpp:40:9: error: cannot convert ‘long long int*’ to ‘int*’ for argument ‘1’ to ‘void solve(int*)’
user.cpp:41:9: error: cannot convert ‘long long int*’ to ‘int*’ for argument ‘1’ to ‘void solve(int*)’
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘void read(int&)’:
user.cpp:14:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:18:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]