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 |
269509 |
Bùi Thanh Long Ẩn |
Số PI |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
411 |
2023-11-18 21:36:01 |
Lỗi biên dịch:
Main.cc: In function ‘int main()’:
Main.cc:8:5: error: ‘prinft’ was not declared in this scope
prinft << "Nhap so nguyen duong n: ";
^~~~~~
Main.cc:8:5: note: suggested alternative: ‘printf’
prinft << "Nhap so nguyen duong n: ";
^~~~~~
printf
Main.cc:9:11: error: invalid operands of types ‘int(const char*, ...)’ and ‘int’ to binary ‘operator>>’
scanf >> n;
~~~~~~^~~~
Main.cc:19:5: error: expected primary-expression before ‘return’
return 0;
^~~~~~