Submission #4321

# Submission time Handle Problem Language Result Execution time Memory
4321 2013-09-14T11:54:06 Z kipa00 카드 (tutorial6) C++
0 / 100
372 ms 43280 KB
#include "jeehak.h"

void jeehak(int A[]) {
  int num = (A[0] + A[1] + A[2] + A[3] + A[4]) % 10 + 2;
  send(num >> 1, num & 1);
}
#include "friends.h"

void friends(int A[], int N, int X[], int Y[]) {
  int checksum = ((*X << 1) | *Y) - 2;
  guess((100 + checksum - (A[0] + A[1] + A[2] + A[3] + A[4] + 1)) % 10);
}
# Verdict Execution time Memory Grader output
1 Incorrect 368 ms 43280 KB Output isn't correct - friends 함수 오류
# Verdict Execution time Memory Grader output
1 Incorrect 372 ms 43280 KB Output isn't correct - friends 함수 오류