4,8,13wa!!!
查看原帖
4,8,13wa!!!
1035639
sans_001楼主2024/1/29 08:55
#include <bits/stdc++.h>
using namespace std;
int main() {
	int T;
	double pie=3.141593;
	cin >> T;
	if (T == 1) {
		cout << "I love Luogu!";
	} else if (T == 2) {
		cout << 2 + 4 << " " << 10 - 2 - 4;
	} else if (T == 3) {
		printf("%d\n%d\n%d\n",3,12,2);
	} else if (T == 4) {
		cout<<fixed<<setprecision(6)<<500/3;
	} else if (T == 5) {
		cout<<480/32;
	} else if (T == 6) {
		cout<<sqrt(36+81);
	} else if (T == 7) {
		printf("%d\n%d\n%d\n",110,90,0);
	} else if (T == 8) {
		printf("%f\n%f\n%f\n",10*pie,25*pie,0.75*pie*125);
	} else if (T == 9) {
		cout<<22;
	} else if (T == 10) {
		cout<<9;
	} else if (T == 11) {
		printf("%.4f",100.0/3);
	} else if (T == 12) {
		cout<<13<<endl<<"R"<<endl;
	} else if (T == 13) {
		double s = 4.0 / 3 * 64 * pie + 4.0 / 3 * 1000 *pie;
		cout<<pow(s,1.0/3);
	} else if (T == 14) {
		cout<<50;
	}
	return 0;
}

救救我!!! 膜拜大佬!!!

2024/1/29 08:55
加载中...