Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
92195 杜诗怡 04圆的面积 C++ Compile Error 0 MS 0 KB 156 2024-09-28 15:06:12

Tests(0/0):


Code:

#include<iostream> #include<cstdio> using namespace std; int main(){ double r; s=3.1315926*r*r; scanf("%2lf",s); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:5: error: 's' was not declared in this scope
     s=3.1315926*r*r;
     ^