This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
using ull = unsigned long long; | |
ull f(ull n){ | |
return 256743000 * n * n - 769715000 * n + 512972514; | |
} | |
int main(){ |