結果

問題 No.83 最大マッチング
ユーザー sk3388607083
提出日時 2019-01-23 22:11:03
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 238 bytes
コンパイル時間 197 ms
コンパイル使用メモリ 28,288 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-16 04:31:42
合計ジャッジ時間 697 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(void)
{
  int N;

  scanf("%d", &N);

  if (N % 2) {
    printf("%d\n", 7);  
    N -= 3;
  }
  else {
    printf("%d\n", 1);  
    N -= 2;
  }
  for ( ; N > 0; N -= 2)
    printf("%d\n", 1);
  
  return 0;
}
0