Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81268 李雨昊 04保留两位小数 C++ Accepted 1 MS 268 KB 192 2024-07-12 11:11:22

Tests(10/10):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { float a,b; scanf("%f %f",&a,&b); if(0==b) printf("ERROR\n"); else printf("%.2f\n",a/b); return 0; }