n 方 过 百 万

P3435 [POI2006] OKR-Periods of Words

Remake_ @ 2021-06-05 19:54:53

Rt

请求加强

《关于我犯 sb 把 O(n^2) 当成 O(n) 结果误打误撞过掉了这件事》

输入:

#include<bits/stdc++.h>
using namespace std;
int main(){
  cout<<"1000000\n";
  for(int i=1;i<=1000000;i++) putchar('a');
}

输出:499999500000


by Ryo_Yamada @ 2021-06-05 19:55:40


by Remake_ @ 2021-06-05 20:01:02

@Sserxhs


by Hexarhy @ 2021-06-05 20:03:19

原来犇犇说的是这事!


by cyffff @ 2021-06-05 20:29:09

草,笑死


by sky_light @ 2021-06-05 20:43:13

离谱


by Stinger @ 2021-06-05 20:48:05

/jk


by SSerxhs @ 2021-06-07 03:16:54

@Miracle_Creator 加了


|