結果
| 問題 | No.8128 出力するだけなのに |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-01 22:56:24 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 500 ms |
| コード長 | 362 bytes |
| 記録 | |
| コンパイル時間 | 2,430 ms |
| コンパイル使用メモリ | 329,520 KB |
| 実行使用メモリ | 349,744 KB |
| 最終ジャッジ日時 | 2026-04-01 22:56:35 |
| 合計ジャッジ時間 | 9,206 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
constexpr int maxN{1'300'000};
constexpr int L{13};
const string H{"Hello world!\n"};
char A[maxN*L],I[100];
signed main(){
cin.tie(0)->sync_with_stdio(0);
read(0,I,100);
int N{},c{};
while('0'<=I[c]&&I[c]<='9')N=N*10+I[c++]-'0';
c=0;
for(int i{0};i<N;++i)for(const auto j:H)A[c++]=j;
write(1,A,L*N);
}