Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147864 张蔚林 05买水果 C++ Compile Error 0 MS 0 KB 153 2026-02-08 20:45:29

Tests(0/0):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { doble a=5,b=8,c=12,d=39; printf("%.3lf",(a+b+c)/3); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:5: error: 'doble' was not declared in this scope
     doble a=5,b=8,c=12,d=39;
     ^
Main.cc:7:21: error: 'a' was not declared in this scope
     printf("%.3lf",(a+b+c)/3);
                     ^
Main.cc:7:23: error: 'b' was not declared in this scope
     printf("%.3lf",(a+b+c)/3);
                       ^
Main.cc:7:25: error: 'c' was not declared in this scope
     printf("%.3lf",(a+b+c)/3);
                         ^