답안 #589361

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
589361 2022-07-04T13:57:50 Z Koosha_mv 최후의 만찬 (IOI12_supper) C++14
0 / 100
30 ms 2668 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);
}
#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) {
  int i;
  for (i = 0; i < N; i++) {
    int req = GetRequest();
    if (req >= K)
      PutBack(req % K);
  }
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 520 KB Error - Not putting back color when it is not on the scaffold
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 3 ms 824 KB Error - Putting back a color that is not on the scaffold
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 23 ms 2260 KB Error - Putting back a color that is not on the scaffold
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 532 KB Error - Putting back a color that is not on the scaffold
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 25 ms 2656 KB Error - Putting back a color that is not on the scaffold
2 Incorrect 27 ms 2628 KB Error - Not putting back color when it is not on the scaffold
3 Incorrect 24 ms 2640 KB Error - Putting back a color that is not on the scaffold
4 Incorrect 25 ms 2612 KB Error - Not putting back color when it is not on the scaffold
5 Incorrect 24 ms 2656 KB Error - Putting back a color when it is already on the scaffold
6 Incorrect 30 ms 2668 KB Error - Putting back a color that is not on the scaffold
7 Incorrect 24 ms 2640 KB Error - Not putting back color when it is not on the scaffold
8 Incorrect 26 ms 2632 KB Error - Putting back a color that is not on the scaffold
9 Incorrect 25 ms 2620 KB Error - Putting back a color that is not on the scaffold
10 Incorrect 28 ms 2564 KB Error - Not putting back color when it is not on the scaffold