結果
問題 |
No.83 最大マッチング
|
ユーザー |
![]() |
提出日時 | 2015-12-25 02:14:34 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 300 bytes |
コンパイル時間 | 1,305 ms |
コンパイル使用メモリ | 157,660 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-18 23:41:58 |
合計ジャッジ時間 | 1,833 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 1 WA * 9 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; if(n == 4){ cout << 11 << endl; return 0; } int seven = n / 3; n -= seven * 3; int one = n / 2; for(int i = 0; i < seven; i++) cout << 7; for(int i = 0; i < one; i++) cout << 1; cout << endl; return 0; }