摘要: 1 #include <iostream> 2 #include <vector> 3 #include <math.h> 4 5 int main(){ 6 int x{},sum{}; 7 std::cin>>x; 8 std::vector<int> n(x,0); 9 10 for(int 阅读全文
posted @ 2022-11-16 15:46 任由天明 阅读(125) 评论(0) 推荐(0)
摘要: 1 #include <iostream> 2 #include <vector> 3 #include <algorithm> 4 5 int main() { 6 int x{},sum{}; 7 std::cin >> x; 8 std::vector<int> n(x, 0); 9 for 阅读全文
posted @ 2022-11-16 11:01 任由天明 阅读(32) 评论(0) 推荐(0)