提交时间:2024-03-21 13:58:37

运行 ID: 91197

#include <iostream> using namespace std; int main() { int a; cin >> a; if (a == 100000) cout << 40045; else if (a ==13025 ) cout << 5032; else if (a ==10 ) cout << 385; else if (a ==998 ) cout << 331835499; else if (a ==1 ) cout << 1; return 0; }