# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
147957 | 연구맨 (#201) | 백점을 받아랏! (FXCUP4_hundred) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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);
}