# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
147964 | 연구맨 (#201) | 백점을 받아랏! (FXCUP4_hundred) | C++17 | 0 ms | 0 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "hundred.h"
#include <string>
using namespace std;
int max(int a,int b){
if(a>b)return a;
else return b;
}
std::string GetHundredPoints(int A, int B, int C) {
string strA;
if (max(A, max(B, C) == A) {
strset(strA, "A", 100);
Mark(strA);
}
else if (max(A, max(B, C) == B) {
strset(strA, "B", 100);
Mark(strA);
}
else if (max(A, max(B, C) == C) {
strset(strA, "C", 100);
Mark(strA);
}
}