哪错了@root

lhy276 2025-05-17 16:19:15 11

#include <bits/stdc++.h>

using namespace std;

int main() { double R, X; cin

R, X; X = 3.14159 * R * R; cout << fixed << setprecision(4) << "A = " << X; }

{{ vote && vote.total.up }}

共 1 条回复

root 站长

输出格式为“A=X”,其中X为圆的面积,用浮点数表示,保留四位小数。

等号两边没有空格