| 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 |
|---|---|---|---|---|---|---|---|---|
| 268386 | Kiều Đức Phúc | Số PI | C/C++ | Lỗi biên dịch (CE) | 0 MS | 0 KB | 443 | 2023-11-18 20:09:46 |
Main.cc:7:5: error: expected initializer before ‘double’
double approximatePi(int n) {
^~~~~~
Main.cc: In function ‘int main()’:
Main.cc:23:20: error: ‘approximate’ was not declared in this scope
double result =approximate Pi(n);
^~~~~~~~~~~
Main.cc:25:22: error: ‘setprecision’ was not declared in this scope
cout << fixed << setprecision(5) << result << endl;
^~~~~~~~~~~~