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