Submission #17050136


Source Code Expand

Copy
#include<bits/stdc++.h>
#include<atcoder/all>
#define rep(i,a,b) for(int i=a;i<b;i++)
#define rrep(i,a,b) for(int i=a;i>=b;i--)
#define fore(i,a) for(auto &i:a)
#define all(x) (x).begin(),(x).end()
//#pragma GCC optimize ("-O3")
using namespace std; using namespace atcoder;
void _main(); int main() { cin.tie(0); ios::sync_with_stdio(false); _main(); }
typedef long long ll; const int inf = INT_MAX / 2; const ll infl = 1LL << 60;
template<class T>bool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; }
template<class T>bool chmin(T& a, const T& b) { if (b < a) { a = b; return 1; } return 0; }
//---------------------------------------------------------------------------------------------------
/*---------------------------------------------------------------------------------------------------
            ∧_∧
      ∧_∧  (´<_` )  Welcome to My Coding Space!
     ( ´_ゝ`) /  ⌒i     @hamayanhamayan0
    /   \     | |
    /   / ̄ ̄ ̄ ̄/  |
  __(__ニつ/     _/ .| .|____
     \/____/ (u ⊃
---------------------------------------------------------------------------------------------------*/














int K;
string acl = "ACL";
//---------------------------------------------------------------------------------------------------
void _main() {
	cin >> K;

	string ans = "";
	rep(k, 0, K) ans += acl;
	cout << ans << endl;
}





Submission Info

Submission Time
Task A - Repeat ACL
User hamayanhamayan
Language C++ (GCC 9.2.1 with AC Library)
Score 100
Code Size 1570 Byte
Status AC
Exec Time 3 ms
Memory 3604 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 1
AC × 5
Set Name Test Cases
Sample example0.txt
All 000.txt, 001.txt, 002.txt, 003.txt, example0.txt
Case Name Status Exec Time Memory
000.txt AC 1 ms 3604 KB
001.txt AC 2 ms 3456 KB
002.txt AC 2 ms 3580 KB
003.txt AC 3 ms 3540 KB
example0.txt AC 2 ms 3564 KB