結果
問題 |
No.83 最大マッチング
|
ユーザー |
|
提出日時 | 2020-09-20 23:56:39 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 368 bytes |
コンパイル時間 | 107 ms |
コンパイル使用メモリ | 27,904 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-24 11:01:37 |
合計ジャッジ時間 | 727 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 10 |
ソースコード
#include <stdio.h> int main(int argc, char *argv[]) { unsigned int N_match_num = 11; unsigned int i; // scanf("%d", &N_match_num); for (i = 0; N_match_num != 0; i++) { if ( ( i == 0 ) && ( N_match_num % 2 != 0 ) ) { printf("7"); } if (N_match_num == 1) { break; } N_match_num -= 2; printf("1"); } return 0; }