結果

問題 No.327 アルファベット列
ユーザー mdj982
提出日時 2015-12-30 12:28:29
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 586 bytes
コンパイル時間 653 ms
コンパイル使用メモリ 90,788 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-19 08:38:00
合計ジャッジ時間 7,681 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other WA * 14 OLE * 2 -- * 34
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <vector>
#include <deque>
#include <string>
#include <tuple>
#include <functional>
#include <numeric>
#include <cmath>
#include <iomanip>
#include <map>
#include <random>
//#include "toollib.h"
#define INT_MAX 2147483647
#define Loop(i, n) for(int i = 0; i < (int)n; i++)
#pragma warning (disable:4018)

using namespace std;
typedef long long int lint;

//***** Main Program *****

int main() {
	lint N;
	cin >> N;
	lint a = N / 26;
	char b = 'A' + N % 26;
	for (lint i = 0; i < a + 1; i++) {
		cout << b;
	}
	cout << endl;
	return 0;
}
0