Submission #985702

# Submission time Handle Problem Language Result Execution time Memory
985702 2024-05-18T14:39:15 Z benjaminkleyn Jakarta Skyscrapers (APIO15_skyscraper) C++17
0 / 100
1000 ms 348 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 = 30000 + rand() % 5;
    for (int i = 0; i < N; i++)
        for (int j = 1; j < N; j++)
            x += i / j;
    cout << x << '\n';
}
# Verdict Execution time Memory Grader output
1 Execution timed out 1050 ms 348 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 1051 ms 348 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 1018 ms 344 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 1050 ms 344 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 1025 ms 344 KB Time limit exceeded
2 Halted 0 ms 0 KB -