Submission #16633

# Submission time Handle Problem Language Result Execution time Memory
16633 2015-08-29T17:13:51 Z eaststar 카드 (tutorial6) C++14
100 / 100
364 ms 43276 KB
#include"jeehak.h"
void jeehak(int *a){
  int s=a[1]+a[2]+a[3]+a[4]+a[5];
  send(s%10/2+1,s%2);
}
#include"friends.h"
void friends(int *a,int n,int *x,int *y){
  int s=x[1]*2-2+y[1],t=a[1]+a[2]+a[3]+a[4]+a[5]+1;
  guess((s-t+50)%10);
}
# Verdict Execution time Memory Grader output
1 Correct 338 ms 43276 KB Output is correct - 최대 카드수 : 1
# Verdict Execution time Memory Grader output
1 Correct 364 ms 43276 KB Output is correct - 최대 카드수 : 1