Submission #4097

# Submission time Handle Problem Language Result Execution time Memory
4097 2013-09-01T03:02:51 Z gs13068 카드 (tutorial6) C++
100 / 100
360 ms 43280 KB
#include"jeehak.h"

void jeehak(int A[])
{
  int t=A[1]+A[2]+A[3]+A[4]+A[5];
  send(t%5+1,t/5%2);
}
#include"friends.h"

void friends(int A[],int N,int X[],int Y[])
{
  int t=X[1]+Y[1]*5+98-A[1]-A[2]-A[3]-A[4]-A[5];
  guess(t%10);
}
# Verdict Execution time Memory Grader output
1 Correct 360 ms 43280 KB Output is correct - 최대 카드수 : 1
# Verdict Execution time Memory Grader output
1 Correct 352 ms 43280 KB Output is correct - 최대 카드수 : 1