摘要:
假想你写了这么四段代码: #include <vector> #include <bits/stdc++.h> using namespace std; std::vector<int> vec; //int a[100000010]; int main() { freopen("a.out", " 阅读全文
摘要:
总结:在外部强制关闭即可 阅读全文
摘要:
c++20 删除了 cin >> (str + 1) 的写法,具体而言是删除了某个接受指针的非成员函数而改为接受 char (&s)[N] 一类的东西。为修正,我们可以写: char s[100010]; ws(cin).getline(s + 1, sizeof s - 1); 以上方法只能整行读 阅读全文
该文被密码保护。 阅读全文