結果

問題 No.1942 Leading zero
ユーザー naskya
提出日時 2022-05-20 23:29:56
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 271 bytes
コンパイル時間 575 ms
コンパイル使用メモリ 70,256 KB
最終ジャッジ日時 2025-01-29 11:50:28
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <iostream>
#include <iterator>

int main() {
  std::ios_base::sync_with_stdio(false);
  std::cin.tie(nullptr);

  int N;
  std::cin >> N;
  std::copy_n(std::istream_iterator<int>(std::cin), N, std::ostream_iterator<int>(std::cout, "\n"));
}
0