3622021-11-01 02:06:41lalalaÉpítkezéscpp14Runtime error 0/1001ms1220 KiB
#include <bits/stdc++.h>
using namespace std;
const int N = 20000000;
int lala[N];

int calc(int i) {
    return i * i;
}

int main() {
    for (int i = 1; i < N; ++i) {
        for (int j = i; j < N; j += i) {
            lala[j]++;
        }
    }
    int a, b;
    cin >> a >> b;
    cout << a * b << endl;
    for (int i = 0; i < N; ++i) {
        lala[i] = calc(calc(i));
    }
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Runtime error1ms992 KiB
2Runtime error1ms1168 KiB
subtask20/20
3Runtime error1ms1216 KiB
4Runtime error1ms1216 KiB
5Runtime error1ms1152 KiB
subtask30/15
6Runtime error1ms1156 KiB
7Runtime error1ms1220 KiB
8Runtime error1ms1156 KiB
subtask40/25
9Runtime error1ms1216 KiB
10Runtime error1ms1152 KiB
11Runtime error1ms1152 KiB
12Runtime error1ms1216 KiB
13Runtime error1ms1088 KiB
subtask50/15
14Runtime error1ms1088 KiB
15Runtime error1ms1216 KiB
16Runtime error1ms1152 KiB
17Runtime error1ms1220 KiB
18Runtime error1ms1220 KiB
subtask60/25
19Runtime error1ms1156 KiB
20Runtime error1ms1088 KiB
21Runtime error1ms1152 KiB
22Runtime error1ms1156 KiB
23Runtime error1ms1220 KiB
24Runtime error1ms1216 KiB
25Runtime error1ms1216 KiB
26Runtime error1ms1156 KiB
27Runtime error1ms1148 KiB