結果
| 問題 | No.327 アルファベット列 |
| コンテスト | |
| ユーザー |
oxyshower
|
| 提出日時 | 2020-01-09 17:34:13 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 308 bytes |
| コンパイル時間 | 1,303 ms |
| コンパイル使用メモリ | 166,036 KB |
| 実行使用メモリ | 820,304 KB |
| 最終ジャッジ日時 | 2024-11-23 03:59:47 |
| 合計ジャッジ時間 | 61,266 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | WA * 18 TLE * 1 MLE * 28 OLE * 3 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
#ifdef LOCAL_DEBUG
#include "LOCAL_DEBUG.hpp"
#endif
#define int long long
signed main(){
int n; cin >> n;
int k = (n + 26) / 26;
char c = 'A' + n % 26;
string ans;
for(int i = 0; i < k; i++){
ans += c;
}
cout << ans << endl;
return 0;
}
oxyshower