读入char字符串的时
#include<bits/stdc++.h> using namespace std; char s[100001]; int main(){ scanf("%s",s+1); return 0; }
如果长度为N,是不是这段代码的时间复杂度为O(N)?