#13求助!!!
查看原帖
#13求助!!!
992877
Max_Wgj楼主2024/3/9 17:04
#include <bits/stdc++.h>
using namespace std;

int main() {
	int T;
	cin >> T;
	if (T == 1) {
		cout << "I love Luogu!";
	} else if (T == 2) {
		cout << 2 + 4 << " " << 10 - 2 - 4;
	} else if (T == 3) {
		cout << 3 << endl;
		cout << 12 << endl;
		cout << 2 << endl;
	} else if (T == 4) {
		cout << 166.667;
	} else if (T == 5) {
		cout << 15;
	} else if (T == 6) {
		cout << 10.8167;
	} else if (T == 7) {
		cout << 110 << endl << 90 << endl << 0;
	} else if (T == 8) {
		cout << 31.4159 <<endl << 78.5398 <<endl<< 523.599;
	} else if (T == 9) {
		cout << 22;
	} else if (T == 10) {
		cout << 9;
	} else if (T == 11) {
		cout << 33.3333;
	} else if (T == 12) {
		cout << 13 << endl << "R";
	} else if (T == 13) {
		cout << fixed << setprecision(0) << 3.141593 * 4 * 4 * 4 + 3.141593 * 10 * 10 * 10;
	} else if (T == 14) {
		cout << 50;
	}
	return 0;
}
2024/3/9 17:04
加载中...