accumulate(f.begin(), f.end(), 0ll) 函数中的 0ll 必须要加 ll 的,否则会 WA test4,长见识了。
accumulate(f.begin(), f.end(), 0ll)
0ll
ll