# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
14853 |
2015-07-01T13:49:09 Z |
pichulia |
카드 (tutorial6) |
C++ |
|
1058 ms |
43276 KB |
#include"jeehak.h"
void jeehak(int A[])
{
int i, j, k;
for(i=1;i<=5;i++)
{
for(j=0;j<4;j++)
{
k = (A[i]&(1<<j))>>j;
send(i,k);
}
}
}
#include"friends.h"
void friends(int A[],int N,int X[],int Y[])
{
int i, j, k;
int si;
for(i=1;i<=5;i++)if(A[i] == -1)break;
si = i;
k=0;
j=0;
for(i=0;i<N;i++)
{
if(X[i] == si)
{
k |= Y[i] << j;
j++;
}
}
guess(k);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1034 ms |
43276 KB |
Output isn't correct - friends 함수 오류 |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1058 ms |
43276 KB |
Output isn't correct - friends 함수 오류 |