这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
(~~非常简洁的判断,对吧~~)家人们猜猜我写这个if写了多久 ```cpp #include using namespace std; int main() { int t; cin >> t; for (int k = 0; k > n >> m; char a[n][m]; for (int i = 0; i >…
快帮帮我!样例对的,但一分没有…… [题目传送门](https://www.luogu.com.cn/problem/B4069) ```cpp #include using namespace std; int main() { int t; cin >> t; int n; for (int i = 0; i >…
```cpp #include using namespace std; int main() { string s; int n; cin >> s >> n; cout << s[s.size() - n]; } ```
为什么有很多人都要用函数,明明这样也行啊? ```cpp #include using namespace std; int b[10000], c; int main() { int n; cin >> n; for (int i = 2; i <= n; i++) { int a = 0; for (int j =…
在讨论《为什么没有输出?》回复:
@[Rigel](luogu://user/602458)太感谢了!这么水灵灵的AC了。
```cpp #include using namespace std; int main() { int n, b = 0, c; cin >> n; string s[n]; for (int i = 0; i > s[i]; for (int j = 0; j = 'a' && s[i][j] b) { b =…
在讨论《满江红求助,明明答案是对的,但是过不去》回复:
你可以不用字符串,用long long就行了
在讨论《If you WA on #3》回复:
不开long long见祖宗(~~我就是~~)
在讨论《95求助》回复:
好吧,当我没说,只要将float改为double ```cpp #include using namespace std; double k, c, f; int main() { cin >> k; c = k - 273.15; f = c * 1.8 + 32; if (f > 212) { cout << "T…
在讨论《95求助》回复:
但不得不说,这题错误真多: "若输入开尔文温度对应的华氏温度" "高于212" "10^5" 建议出题人修改数据
在讨论《95求助》回复:
@[svt20150529](luogu://user/1318547)附上代码: ```cpp #include using namespace std; double k, c, f; int main() { cin >> k; c = k - 273.15; f = c * 1.8 + 32; if (k >…
在讨论《95求助》回复:
@[svt20150529](luogu://user/1318547)将float改成double
在讨论《95求助》回复:
@[svt20150529](luogu://user/1318547)将f改成k
在讨论《If you WA on #5 / 90pts》回复:
要是我早看到这个帖子就好了,卡了好久,才发现这个问题
```cpp #include using namespace std; int main() { int n, a = -1; cin >> n; int x1[n], y1[n], x2[n], y2[n], x, y; for (int i = 0; i > x1[i] >> y1[i] >> x2[i] >>…
在讨论《95求助》回复:
@[svt20150529](luogu://user/1318547)建议看题解的评论,不知道为什么,f>300就过了
在讨论《92分!求大佬帮忙》回复:
说实话,这题用分支的真的想多了
在讨论《警示后人》回复:
@[zrh1007363868](luogu://user/1343076)你试试将long long改成double
在讨论《警示后人》回复:
@[zrh1007363868](luogu://user/1343076)我们两个思路不同
在讨论《警示后人》回复:
@[zrh1007363868](luogu://user/1343076)为啥要开long long啊?代码和**AC**记录: ```cpp #include using namespace std; int main() { int n; double a = 1, b = 1; cin >> n; for (i…
代码如下 ```cpp #include using namespace std; char a, b = '0'; int n, ans[1000001], zz = 1; int main() { while (cin >> a) { n++; if (a == b) { ans[zz]++; } else { a…
在讨论《用string的看过来》回复:
这里是给刚学string不懂函数的新手写的,大佬不喜勿喷。
在讨论《进食(警示)后人(70分,最后3个点RE)》回复:
不开long long见祖宗!
~~**救命**~~ ```cpp #include using namespace std; int main() { int t, n, m, a = 0, b = 0; cin >> t; string s; for (int i = 0; i > n >> m >> s; if (s[0] == '0') {…
在讨论《全WA,0分求调!》回复:
@[fanwh](luogu://user/364624)试试这个 ```cpp DHJSKF lsdkdf 343234 ddsfdf 344332 fhfhfh ```
在讨论《Why??》回复:
@[i_love_shajin](luogu://user/1582111)我的天哪!!!这么长!把每种可能都列举一边都没这么长吧······还不如写这样的 ```cpp #include using namespace std; int main() { string s1, s2; int s; cin >> s;…
在讨论《样例2过不了》回复:
没看懂而且已发现问题了,k是-.-,写成.-.。
在讨论《#3是错的强调》回复:
@[l17765887828](luogu://user/1456209)其实||的意思就是or,&&的意思就是and
在讨论《过是过了,但写了130行······》回复:
@[xiaonian_](luogu://user/1486384)你这······