結果
問題 |
No.83 最大マッチング
|
ユーザー |
![]() |
提出日時 | 2017-06-23 08:21:14 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 173 ms |
コンパイル使用メモリ | 29,056 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-02 13:08:11 |
合計ジャッジ時間 | 727 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <stdio.h> int main(void){ int n; scanf("%d", &n); int a = n/2; int b = n%2; if(b){ printf("7"); } else{ printf("1"); } for(int i = 0; i < a - 1; i++){ printf("1"); } printf("\n"); return 0; }