版本比较
day14(模拟赛)总结
正文
增加 4 行删除 4 行
38 行未改动3940414243434445464744 行未改动929394959696979899100101102103104104105106107108135 行未改动全部展开24424524624724824824925025125223 行未改动38 行未改动
int main() { ios::sync_with_stdio(0); cin.tie(0); for (cin >> t; t; t--) for (cin >> t; t; t--) solve(); return 0;}```44 行未改动 return; } if (type != 2) get_ans(1); if (type != 1) if (type != 1) get_ans(0); cout << "\n";}
int main() { ios::sync_with_stdio(0); cin.tie(0); for (cin >> t; t; t--) for (cin >> t; t; t--) solve(); return 0;}```135 行未改动全部展开const int kMaxN = 5e4 + 5;
int n, p[kMaxN], k[kMaxN], f[kMaxN], lis[kMaxN], len;
inline void solve() { inline void solve() { cin >> n; for (int i = 1; i <= n; i++) cin >> p[i]; for (int i = 1; i <= n; i++)23 行未改动