# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
4322 |
2013-09-14T11:55:17 Z |
kipa00 |
카드 (tutorial6) |
C++ |
|
400 ms |
43280 KB |
#include "jeehak.h"
void jeehak(int A[]) {
int num = (A[5] + 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[5] + A[1] + A[2] + A[3] + A[4] + 1)) % 10);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
400 ms |
43280 KB |
Output isn't correct - friends 함수 오류 |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
368 ms |
43280 KB |
Output isn't correct - friends 함수 오류 |