1. 鏈表 用cin會超時,改成scanf過了 #include <bits/stdc++.h> using namespace std; int main() { int n, k; scanf("%d%d", &n, &k); int val; for (...