結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
keishi7773
|
| 提出日時 | 2019-08-29 15:11:56 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 446 bytes |
| コンパイル時間 | 633 ms |
| コンパイル使用メモリ | 75,684 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-17 16:53:56 |
| 合計ジャッジ時間 | 1,432 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | WA * 10 |
ソースコード
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <map>
#include <queue>
typedef long long ll;
using namespace std;
#define rep(i, n) for (int i = 0; i <= (int)(n); i++)
#define mod 1000000007
int main(){
int N;
cin >> N;
if(N % 2 == 1){
cout << "7" << endl;
N-= 3;
for(int i = 0; i < N / 2; i++){
cout << "1" << endl;
}
}else{
for(int i = 0; i < N /2; i++){
cout << "1" << endl;
}
}
}
keishi7773