Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143523 张晓冉 04圆的面积 C++ Compile Error 0 MS 0 KB 175 2026-01-16 20:53:46

Tests(0/0):


Code:

#include <bits/stdc++.h> using namespace std; int main() { double r; double pi = 3.1415926; cin >> r; printf("%.2f\n",pi*r*r)<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:30: error: invalid operands of types 'int' and '' to binary 'operator<<'
     printf("%.2f\n",pi*r*r)<