Python复制while True: print("awa") 请不要私信骚扰我,谢谢 ^ ^ 互关见 /problem/U682684。 仓库不知道放哪的东西,就顺手丢进来了。https://excalidraw.com/https://graphvizonline.net/https://algorithm-visualizer.org/https://anacc22.github.io/another_graph_editor/ 警示注意 if/else/ 的优先级问题,叠多层 if/else 的时候上层的 if 可能会把下层的 else 抢走。写二维树状数组不能写成C++复制for(;x<=n;x+=lb(x)) for(;y<=m;y+=lb(y)) tr[x][y]+=v;