답안 #1006881

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1006881 2024-06-24T09:31:28 Z Nexus A Plus B (IOI23_aplusb) C++17
60 / 100
1000 ms 1708572 KB
#include <bits/stdc++.h>
#include "aplusb.h"
#define ll long long

using namespace std;

const ll N=2e5+9,M=2e18+9,mod=998244353;

vector<int>smallest_sums(int n,vector<int>a,vector<int>b)
{
    vector<int>v;
    for(int i=0;i<n;++i)
        for(int j=0;j<n;++j)
        v.push_back(a[i]+b[j]);
    sort(v.begin(),v.end());
    vector<int>ans;
    for(int i=0;i<n;++i)ans.push_back(v[i]);
    return ans;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 0 ms 348 KB Output is correct
6 Correct 0 ms 436 KB Output is correct
7 Correct 0 ms 348 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Correct 0 ms 348 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 1 ms 348 KB Output is correct
12 Correct 1 ms 348 KB Output is correct
13 Correct 0 ms 348 KB Output is correct
14 Correct 0 ms 348 KB Output is correct
15 Correct 1 ms 348 KB Output is correct
16 Correct 1 ms 348 KB Output is correct
17 Correct 1 ms 348 KB Output is correct
18 Correct 1 ms 348 KB Output is correct
19 Correct 1 ms 348 KB Output is correct
20 Correct 1 ms 348 KB Output is correct
21 Correct 1 ms 348 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 0 ms 348 KB Output is correct
6 Correct 0 ms 436 KB Output is correct
7 Correct 0 ms 348 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Correct 0 ms 348 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 1 ms 348 KB Output is correct
12 Correct 1 ms 348 KB Output is correct
13 Correct 0 ms 348 KB Output is correct
14 Correct 0 ms 348 KB Output is correct
15 Correct 1 ms 348 KB Output is correct
16 Correct 1 ms 348 KB Output is correct
17 Correct 1 ms 348 KB Output is correct
18 Correct 1 ms 348 KB Output is correct
19 Correct 1 ms 348 KB Output is correct
20 Correct 1 ms 348 KB Output is correct
21 Correct 1 ms 348 KB Output is correct
22 Correct 2 ms 728 KB Output is correct
23 Correct 11 ms 5580 KB Output is correct
24 Correct 15 ms 4556 KB Output is correct
25 Correct 12 ms 5324 KB Output is correct
26 Correct 134 ms 33692 KB Output is correct
27 Correct 212 ms 34752 KB Output is correct
28 Correct 110 ms 35264 KB Output is correct
29 Correct 3 ms 728 KB Output is correct
30 Correct 31 ms 4812 KB Output is correct
31 Correct 32 ms 6092 KB Output is correct
32 Correct 32 ms 5580 KB Output is correct
33 Correct 338 ms 35008 KB Output is correct
34 Correct 342 ms 34240 KB Output is correct
35 Correct 341 ms 33984 KB Output is correct
36 Correct 258 ms 34376 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 0 ms 348 KB Output is correct
6 Correct 0 ms 436 KB Output is correct
7 Correct 0 ms 348 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Correct 0 ms 348 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 1 ms 348 KB Output is correct
12 Correct 1 ms 348 KB Output is correct
13 Correct 0 ms 348 KB Output is correct
14 Correct 0 ms 348 KB Output is correct
15 Correct 1 ms 348 KB Output is correct
16 Correct 1 ms 348 KB Output is correct
17 Correct 1 ms 348 KB Output is correct
18 Correct 1 ms 348 KB Output is correct
19 Correct 1 ms 348 KB Output is correct
20 Correct 1 ms 348 KB Output is correct
21 Correct 1 ms 348 KB Output is correct
22 Correct 2 ms 728 KB Output is correct
23 Correct 11 ms 5580 KB Output is correct
24 Correct 15 ms 4556 KB Output is correct
25 Correct 12 ms 5324 KB Output is correct
26 Correct 134 ms 33692 KB Output is correct
27 Correct 212 ms 34752 KB Output is correct
28 Correct 110 ms 35264 KB Output is correct
29 Correct 3 ms 728 KB Output is correct
30 Correct 31 ms 4812 KB Output is correct
31 Correct 32 ms 6092 KB Output is correct
32 Correct 32 ms 5580 KB Output is correct
33 Correct 338 ms 35008 KB Output is correct
34 Correct 342 ms 34240 KB Output is correct
35 Correct 341 ms 33984 KB Output is correct
36 Correct 258 ms 34376 KB Output is correct
37 Execution timed out 1061 ms 1708572 KB Time limit exceeded
38 Halted 0 ms 0 KB -