这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《大神请帮我看看错在哪了》回复:
不简单吗? ```cpp #include using namespace std; int main() { long long a, b; cin >> a >> b; cout << a + b; return 0; } ```
在讨论《Compile Error 编译失败 !!!C++》回复:
@[LiJinwen20130617](luogu://user/1415856) 谢谢了
在讨论《80分,最后一个测试点没过,求解!》回复:
@[Tonyg6c4](luogu://user/1117620) 不用int b.
在讨论《80分,最后一个测试点没过,求解!》回复:
直接 ```cpp #include using namespace std; int main() { int x; cin >> x; if(x % 3 == 0){ if(x % 5 == 0){ if(x % 7 == 0){ cout << "3 5 7"; } else { cout << "3 5"; }…
在讨论《80求解》回复:
不用for循环 ```cpp #include using namespace std; int main() { int x; cin >> x; if(x % 3 == 0){ if(x % 5 == 0){ if(x % 7 == 0){ cout << "3 5 7"; } else { cout << "3…
在讨论《Compile Error 编译失败!!C++》回复:
@[jimmy_s](luogu://user/1028781) 测试点信息 #1 AC 3ms/616.00KB Accepted, 得分 20.ok accepted #2 AC 4ms/556.00KB Accepted, 得分 20.ok accepted #3 WA 3ms/552.00KB Wrong An…
在讨论《Compile Error 编译失败!!C++》回复:
@[jimmy_s](luogu://user/1028781) 编译失败
在讨论《Compile Error 编译失败!!C++》回复:
@[jimmy_s](luogu://user/1028781) ```cpp #include using namespace std; int main() { int a, b, ans = 1; cin >> a >> b; for(int i = 1;i <= b; ++i){ ans = ans * a }…
在讨论《Compile Error 编译失败!!C++》回复:
@[pika_](luogu://user/1038404) but 测试点信息 4ms/556.00KB WA #1 Wrong Answer.wrong answer Too short on line 1. 4ms/564.00KB WA #2 Wrong Answer.wrong answer On line…
在讨论《Compile Error 编译失败!!C++》回复:
@[pika_](luogu://user/1038404) Thank you.
```cpp #include using namespace std; int main() { int a, b, ans = 1; cin >> a >> b; for(int i = 1;i <= b; ++i){ ans = ans * a } if(ans % 7 == 0){ cout << "Sunda…
在讨论《Compile Error 编译失败 !!!C++》回复:
编译失败 !!!C++ ```cpp #include using namespace std; int main() { char s = '+'or'-'or'*'or'/'; long long a, b, c; cin >> a >> s >> b; if (s == '+'){ c = a + b; cout…
在讨论《24!!! C++》回复:
@[masonxiong](luogu://user/446979) 还请大神教我“快速幂算法”
在讨论《24!!! C++》回复:
@[LionBlaze](luogu://user/911054) 有朋自远方来,不亦乐乎?
在讨论《24!!! C++》回复:
@[FXLIR](luogu://user/617688) 怎么算运行时间。 是有个TLE
```cpp #include using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if(a < b) { if(b < c) { cout << a << " " << b << " " << c; } else if(a < c) {…
``` #include using namespace std; int main (){ int a, b, p, s = 1; cin >> a >> b >> p; for(int i = 0;i <= b; ++i){ s = s * a; } s = s / a % p; cout << a << "^"…
```cpp #include using namespace std; int main() { char s = '+'or'-'or'*'or'/'; int a, b, c; cin >> a >> b >> s; if (s == '+'){ c = a + b; cout << c; } else if (…
在讨论《50!!! C++》回复:
@[mcturtle](luogu://user/823830) @[guyancheng](luogu://user/1101383) thanks for you halp.
在讨论《90!!! c++》回复:
@[Qjb20130116](luogu://user/1345516) thanks for you halp.
在讨论《50!!! C++》回复:
@[mcturtle](luogu://user/823830) 敢问您是什么意思鸭?
emm... ```cpp #include using namespace std; int main() { char s; int t; cin >> s; t = s; if(t % 2 == 0){ cout << "ON"; } else { cout << "YES"; } return 0; }
emm... ```cpp #include using namespace std; int main(){ long long a, b; int ans; cin >> a >> b; ans = a * b; cout << ans; return 0; }
在讨论《各位大佬,我哪儿错了?(B2142)》回复:
等差数列: (首项+末项)* 项数/2 上代码: ```cpp #include using namespace std; int main () { int n, ans; cin >> n; ans = (1 + n) * n / 2; cout << ans; return 0; } ```