This commit is contained in:
HuangHai
2025-08-30 18:35:01 +08:00
commit 1f397eca87
6258 changed files with 1487241 additions and 0 deletions

14
LuoGu/RuMen/P1426.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include<bits/stdc++.h>
using namespace std;
int main() {
double v = 7, s, x, l = 0;
cin >> s >> x;
while (l < s - x) {
l += v;
v *= 0.98;
}
if (v * 0.98 <= s + x - l)cout << 'y';
else cout << 'n';
}