답안 #589362

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
589362 2022-07-04T13:58:33 Z Koosha_mv 최후의 만찬 (IOI12_supper) C++14
0 / 100
12 ms 1028 KB
#include "advisor.h"
#include <bits/stdc++.h>
using namespace std;
#define dbgv(v) cout<<#v<<" = "; f(i,0,v.size()) cout<<v[i]<<" "; cout<<endl
#define dbga(a,x,y) cout<<#a<<" = "; f(i,x,y) cout<<a[i]<<" "; cout<<endl
#define erorp(x) cout<<#x<<"={"<<x.F<<" , "<<x.S<<"}"<<endl
#define eror(x) cout<<#x<<'='<<(x)<<endl
#define f_(i,a,b) for(int i=a;i>=b;i--)
#define f(i,a,b) for(int i=a;i<b;i++)
#define nb(x) __builtin_popcount(x)
#define all(v) v.begin(),v.end()
#define bit(n,k) (((n)>>(k))&1)
#define Add(x,y) x=(x+y)%mod
#define maxm(a,b) a=max(a,b)
#define minm(a,b) a=min(a,b)
#define lst(x) x[x.size()-1]
#define sz(x) int(x.size())
#define mp make_pair
#define ll long long
#define pb push_back
#define S second
#define F first

void ComputeAdvice(int *C, int N, int K, int M) {

  WriteAdvice(0);
  WriteAdvice(1);
  WriteAdvice(2);

}
#include "assistant.h"
#include <bits/stdc++.h>
using namespace std;
#define dbgv(v) cout<<#v<<" = "; f(i,0,v.size()) cout<<v[i]<<" "; cout<<endl
#define dbga(a,x,y) cout<<#a<<" = "; f(i,x,y) cout<<a[i]<<" "; cout<<endl
#define erorp(x) cout<<#x<<"={"<<x.F<<" , "<<x.S<<"}"<<endl
#define eror(x) cout<<#x<<'='<<(x)<<endl
#define f_(i,a,b) for(int i=a;i>=b;i--)
#define f(i,a,b) for(int i=a;i<b;i++)
#define nb(x) __builtin_popcount(x)
#define all(v) v.begin(),v.end()
#define bit(n,k) (((n)>>(k))&1)
#define Add(x,y) x=(x+y)%mod
#define maxm(a,b) a=max(a,b)
#define minm(a,b) a=min(a,b)
#define lst(x) x[x.size()-1]
#define sz(x) int(x.size())
#define mp make_pair
#define ll long long
#define pb push_back
#define S second
#define F first

void Assist(unsigned char *A, int N, int K, int R) {
  if(A[0]=='1') return ;
  int i;
  for (i = 0; i < N; i++) {
    int req = GetRequest();
    if (req >= K)
      PutBack(req % K);
  }

}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 516 KB Error - advice must be 0 or 1
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 648 KB Error - advice must be 0 or 1
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 8 ms 924 KB Error - advice must be 0 or 1
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 508 KB Error - advice must be 0 or 1
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 9 ms 952 KB Error - advice must be 0 or 1
2 Incorrect 8 ms 908 KB Error - advice must be 0 or 1
3 Incorrect 9 ms 908 KB Error - advice must be 0 or 1
4 Incorrect 8 ms 964 KB Error - advice must be 0 or 1
5 Incorrect 8 ms 1028 KB Error - advice must be 0 or 1
6 Incorrect 9 ms 1008 KB Error - advice must be 0 or 1
7 Incorrect 12 ms 1004 KB Error - advice must be 0 or 1
8 Incorrect 9 ms 908 KB Error - advice must be 0 or 1
9 Incorrect 8 ms 916 KB Error - advice must be 0 or 1
10 Incorrect 9 ms 952 KB Error - advice must be 0 or 1