# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
16803 |
2015-09-30T05:27:16 Z |
gs14004 |
카드 (tutorial6) |
C++14 |
|
339 ms |
43276 KB |
#include "jeehak.h"
void jeehak(int A[]){
int ret = 0;
for(int i=0; i<5; i++) ret = (ret + A[i]) % 10;
send(ret / 2 + 1, ret % 2);
}
#include "friends.h"
void friends(int A[], int N, int X[], int Y[]){
int ret = 0;
for(int i=0; i<5; i++) if(A[i] != -1) ret = (ret + A[i]) % 10;
int tmp = (X[0] - 1) * 5 + Y[0];
guess((tmp + 10 - ret) % 10);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
334 ms |
43276 KB |
Output isn't correct - friends 함수 오류 |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
339 ms |
43276 KB |
Output isn't correct - friends 함수 오류 |