답안 #260290

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
260290 2020-08-10T04:21:31 Z 최은수(#5043) Broken Device (JOI17_broken_device) C++14
0 / 100
2 ms 1044 KB
#include"Annalib.h"
#include<iostream>
#include<vector>
#include<algorithm>
#define ep emplace
#define eb emplace_back
#define fi first
#define se second
#define all(x) (x).begin(),(x).end()
using namespace std;
typedef long long ll;
typedef pair<int,int>pi;
typedef pair<ll,ll>pl;
const int inf=1e9+7;
const ll INF=1e18;

void Anna(int N,ll X,int K,int P[])
{
    for(int i=0;i<120;i++)
        Set(i,X>>(i/2)&1);
    return;
}
#include"Brunolib.h"
#include<iostream>
#include<vector>
#include<algorithm>
#define ep emplace
#define eb emplace_back
#define fi first
#define se second
#define all(x) (x).begin(),(x).end()
using namespace std;
typedef long long ll;
typedef pair<int,int>pi;
typedef pair<ll,ll>pl;
const int inf=1e9+7;
const ll INF=1e18;

ll Bruno(int N,int A[])
{
    ll x=0;
    for(int i=0;i<120;i++)
        x|=A[i]<<(i/2);
    return x;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 1032 KB Wrong Answer [4]
2 Incorrect 0 ms 916 KB Wrong Answer [4]
3 Incorrect 1 ms 1040 KB Wrong Answer [4]
4 Incorrect 0 ms 916 KB Wrong Answer [4]
5 Incorrect 0 ms 1040 KB Wrong Answer [4]
6 Incorrect 0 ms 788 KB Wrong Answer [4]
7 Incorrect 1 ms 916 KB Wrong Answer [4]
8 Incorrect 0 ms 916 KB Wrong Answer [4]
9 Incorrect 0 ms 1044 KB Wrong Answer [4]
10 Incorrect 0 ms 916 KB Wrong Answer [4]
11 Incorrect 1 ms 916 KB Wrong Answer [4]
12 Incorrect 0 ms 788 KB Wrong Answer [4]
13 Incorrect 0 ms 916 KB Wrong Answer [4]
14 Incorrect 1 ms 1036 KB Wrong Answer [4]
15 Incorrect 0 ms 916 KB Wrong Answer [4]
16 Incorrect 0 ms 1040 KB Wrong Answer [4]
17 Incorrect 0 ms 916 KB Wrong Answer [4]
18 Incorrect 0 ms 1040 KB Wrong Answer [4]
19 Incorrect 1 ms 1040 KB Wrong Answer [4]
20 Incorrect 1 ms 1044 KB Wrong Answer [4]
21 Incorrect 1 ms 1040 KB Wrong Answer [4]
22 Incorrect 0 ms 916 KB Wrong Answer [4]
23 Incorrect 2 ms 916 KB Wrong Answer [4]
24 Incorrect 1 ms 1044 KB Wrong Answer [4]
25 Incorrect 0 ms 788 KB Wrong Answer [4]
26 Incorrect 1 ms 788 KB Wrong Answer [4]
27 Incorrect 1 ms 1044 KB Wrong Answer [4]
28 Incorrect 1 ms 1032 KB Wrong Answer [4]
29 Incorrect 1 ms 1040 KB Wrong Answer [4]
30 Incorrect 2 ms 1032 KB Wrong Answer [4]
31 Incorrect 1 ms 788 KB Wrong Answer [4]
32 Incorrect 1 ms 916 KB Wrong Answer [4]
33 Incorrect 0 ms 788 KB Wrong Answer [4]
34 Incorrect 0 ms 916 KB Wrong Answer [4]
35 Incorrect 1 ms 1036 KB Wrong Answer [4]
36 Incorrect 1 ms 1032 KB Wrong Answer [4]
37 Incorrect 1 ms 788 KB Wrong Answer [4]
38 Incorrect 2 ms 1044 KB Wrong Answer [4]
39 Incorrect 1 ms 788 KB Wrong Answer [4]
40 Incorrect 2 ms 916 KB Wrong Answer [4]