Mã chấm Tài khoản Bài tập Ngôn ngữ lập trình Trạng thái Thời gian Bộ nhớ Kích thước Thời gian nộp
269284 Kiều Đức Phúc Luỹ thừa bậc 5 C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 857 2023-11-18 21:16:15

Lỗi biên dịch:

Main.cc: In function ‘int main()’:
Main.cc:6:30: error: a function-definition is not allowed here before ‘{’ token
     bool canRepresent(int X) {
                              ^
Main.cc:25:12: error: a function-definition is not allowed here before ‘{’ token
 int main() {
            ^
Main.cc:43:1: error: expected ‘}’ at end of input
 }
 ^