Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80940 秦浩然 04保留两位小数 C++ Compile Error 0 MS 0 KB 157 2024-07-11 17:04:47

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ doulbe a,b,c; cin>>a>>b; c=a/b; printf("%.2lf",c); return 0;


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:5: error: 'doulbe' was not declared in this scope
     doulbe a,b,c;
     ^
Main.cc:6:10: error: 'a' was not declared in this scope
     cin>>a>>b;
          ^
Main.cc:6:13: error: 'b' was not declared in this scope
     cin>>a>>b;
             ^
Main.cc:7:5: error: 'c' was not declared in this scope
     c=a/b;
     ^
Main.cc:11:12: error: expected '}' at end of input
    return 0; 
            ^