空数组减一有多大
运行下面这段程序:
#include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
vector<int> v;
cout << (v.size() - 1 > 100 ? "巨大" : "正常") << endl;
}
(本题用 g++ -std=c++17 -O0 编译。)