这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
``` #include #include #include using namespace std; struct guest1 { int x = 1, y = 1; int skill = 0, skillB = 0, live = 3; } guest1; struct guest2 { int x = 9,…
``` #include using namespace std; int e[100][100],flag[100]; char v; int minn=0x3f3f3f3f; int main(){ int n; cin >> n; for(int i = 1; i > a >> b >> c; int a1,b1…
```cpp #include #include using namespace std; int n, m; int dir[4][2]={{1,0},{-1,0},{0,1},{0,-1}}; char mapn[150][150]; int book[150][150]; int step[10000][1000…
在讨论《有人知道为什么吗?》回复:
为啥不能像我一开始那样写?
本萌新一开始把w设为double然后w/=100然后再max(w*i,1.0)全wa了 改后代码 ``` #include using namespace std; int b[610]; int main(){ int n; int w; int a; cin >> n >> w; for(int i = 1; i…
在讨论《代码一直输出drew.,有大佬知道为什么吗?》回复:
@[_buzhidao_](/user/917775) 谢谢大佬,确实是这个原因。
``` #include using namespace std; int a[10]; int main(){ string b; int t = 1; getline(cin,b); int n = b.size(); for(int i = 1; i <= n; i++){ a[b[i]] = t; if(a[1…