답안 #145766

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
145766 2019-08-21T06:49:25 Z uvelo 최댓값 (tutorial2) C++14
0 / 100
3 ms 256 KB
#include <iostream>
using namespace std;

int GetMax(int N, int* A){
	int maxnum = -1;
	for (int i = 0; i < N; i++){
		if (A[N] > maxnum) maxnum = A[N];
	}
	return maxnum;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 3 ms 256 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 256 KB Output isn't correct
2 Halted 0 ms 0 KB -