大水题WA了4个点
查看原帖
大水题WA了4个点
448911
ZAIA_Enterprise楼主2023/10/18 09:57
#include <iostream>
#include <cstdio>
using namespace std;
int main(){
	int x,y;
	cin >> x >> y;
	if(y==0){
		cout << "ERROR" << endl;
		return 0;
	}
	printf("%.2f\n",1.0*x/y);
	return 0;
}
2023/10/18 09:57
加载中...