Submission #148179

#TimeUsernameProblemLanguageResultExecution timeMemory
148179요까할 로뭘 은명팀 1 (#201)Get Hundred Points! (FXCUP4_hundred)C++17
0 / 100
6 ms384 KiB
#include "hundred.h"
#include <bits/stdc++.h>
using namespace std;
/// �κ� ���� 1 �����ô�.

string GetHundredPoints(int A, int B, int C) {
    string ans;
    string go;
    for(int i = 0;i < 100;i++) go += 'C';
    for(int i = 0;i < 100;i++)
    {
        go[i] = 'A';
        int ch = Mark(go); // ���⼭ ��Ȯ�� A�� B�� C�� ���� �ؿ�.
        if(ch) ans += 'A';
        else ans += 'B';
        go[i] = 'C';
        //cout << ans << "\n";
    }
    return ans;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...