# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
985697 | 2024-05-18T14:37:57 Z | benjaminkleyn | Jakarta Skyscrapers (APIO15_skyscraper) | C++17 | 0 ms | 0 KB |
#pragma GCC optimize("O3,unroll-loops") #pragma GCC target("avx,avx2,fma,bmi,bmi2") #include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int N, x = 0; srand(time(0)); N = 14000 + rand() % 5; for (int i = 0; i < N; i++) for (int j = 0; j < N; j++) x += __builtin_popcnt(i * j); cout << x << '\n'; }