結果
| 問題 |
No.3001 ヘビ文字列
|
| ユーザー |
addeight2
|
| 提出日時 | 2024-12-27 17:24:35 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 319 bytes |
| コンパイル時間 | 1,891 ms |
| コンパイル使用メモリ | 167,420 KB |
| 実行使用メモリ | 9,184 KB |
| 最終ジャッジ日時 | 2025-01-01 07:37:36 |
| 合計ジャッジ時間 | 31,710 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| other | AC * 2 WA * 81 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
int n = S.length();
assert(2 <= n && n <= 2000000);
for (int i = 0; i < n; ++i) {
assert('A' <= S[i] && S[i] <= 'Z');
}
for (int i = 0; i < n; i++)
{
cout << S[0];
}
cout << endl;
}
addeight2