답안 #260296

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
260296 2020-08-10T04:30:02 Z 반딧불(#5056) Broken Device (JOI17_broken_device) C++14
0 / 100
2 ms 1032 KB
#include <bits/stdc++.h>
#include "Annalib.h"

using namespace std;

typedef long long ll;

namespace A{
    int n, k;
    ll x;
    int arr[1002];
};
using namespace A;

void Anna(int N, ll X, int K, int P[]){
    srand(79);
    n = N, k = K, x = X;
    for(int i=0; i<N; i++){
        arr[i] = rand() % 60;
        Set(i, x & (1<<arr[i]));
    }
}
#include <bits/stdc++.h>
#include "Brunolib.h"

using namespace std;

typedef long long ll;

namespace B{
    int n;
    int arr[1002];
};
using namespace B;

ll Bruno(int N, int A[]){
    srand(79);
    n = N;
    for(int i=0; i<n; i++) arr[i] = rand()%60;

    ll ret = 0;
    for(int i=0; i<n; i++){
        if(A[i]) ret |= (1<<arr[i]);
    }
    return ret;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 772 KB Wrong Answer [3]
2 Incorrect 2 ms 872 KB Wrong Answer [3]
3 Incorrect 1 ms 1032 KB Wrong Answer [3]
4 Incorrect 2 ms 772 KB Wrong Answer [3]
5 Incorrect 2 ms 780 KB Wrong Answer [3]
6 Incorrect 0 ms 772 KB Wrong Answer [3]
7 Incorrect 0 ms 776 KB Wrong Answer [3]
8 Incorrect 1 ms 772 KB Wrong Answer [3]
9 Incorrect 1 ms 772 KB Wrong Answer [3]
10 Incorrect 1 ms 644 KB Wrong Answer [3]
11 Incorrect 2 ms 776 KB Wrong Answer [3]
12 Incorrect 0 ms 772 KB Wrong Answer [3]
13 Incorrect 0 ms 644 KB Wrong Answer [3]
14 Incorrect 0 ms 1024 KB Wrong Answer [3]
15 Incorrect 0 ms 772 KB Wrong Answer [3]
16 Incorrect 0 ms 772 KB Wrong Answer [3]
17 Incorrect 0 ms 772 KB Wrong Answer [3]
18 Incorrect 1 ms 776 KB Wrong Answer [3]
19 Incorrect 0 ms 772 KB Wrong Answer [3]
20 Incorrect 0 ms 776 KB Wrong Answer [3]
21 Incorrect 0 ms 780 KB Wrong Answer [3]
22 Incorrect 0 ms 780 KB Wrong Answer [3]
23 Incorrect 0 ms 776 KB Wrong Answer [3]
24 Incorrect 0 ms 772 KB Wrong Answer [3]
25 Incorrect 1 ms 772 KB Wrong Answer [3]
26 Incorrect 0 ms 900 KB Wrong Answer [3]
27 Incorrect 1 ms 776 KB Wrong Answer [3]
28 Incorrect 1 ms 644 KB Wrong Answer [3]
29 Incorrect 0 ms 900 KB Wrong Answer [3]
30 Incorrect 0 ms 772 KB Wrong Answer [3]
31 Incorrect 0 ms 1024 KB Wrong Answer [3]
32 Incorrect 1 ms 772 KB Wrong Answer [3]
33 Incorrect 0 ms 780 KB Wrong Answer [3]
34 Incorrect 0 ms 772 KB Wrong Answer [3]
35 Incorrect 0 ms 644 KB Wrong Answer [3]
36 Incorrect 0 ms 780 KB Wrong Answer [3]
37 Incorrect 0 ms 644 KB Wrong Answer [3]
38 Incorrect 0 ms 644 KB Wrong Answer [3]
39 Incorrect 0 ms 772 KB Wrong Answer [3]
40 Incorrect 0 ms 772 KB Wrong Answer [3]