제출 #18109

#제출 시각아이디문제언어결과실행 시간메모리
18109jun6873쉬운 문제 (GA3_easy)C++98
100 / 100
0 ms1084 KiB

int CountPair(int N, int *A)
{
	int res = 0;
	for (int i=0; i<N; i++)
		for (int j=i+1; j<N; j++)
			if (A[j] % A[i] == 0) res++;

	return res;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...