Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
142010 余秋烨 12输出3的倍数 C++ Compile Error 0 MS 0 KB 225 2025-12-29 17:01:30

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ float a=1234.567890; cout<<setprecision(5)<<a<<endl; cout<<fixed<<setprecision(5)<<a<<endl; cout<<scientific<<setprecision(5)<<a<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:24: error: 'setprecision' was not declared in this scope
    cout<