結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
streingmust
|
| 提出日時 | 2020-02-19 21:38:54 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 356 bytes |
| コンパイル時間 | 519 ms |
| コンパイル使用メモリ | 54,820 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-08 18:17:52 |
| 合計ジャッジ時間 | 1,106 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 4 WA * 6 |
ソースコード
#include <iostream>
int main(void){
int N=0;
std::cin >> N;
if(N%2==0){
for(int i=0;i<N/2;i++){
std::cout << "1";
}
std::cout << std::endl;
}
else{
std::cout << "7";
for(int i=0;i<N/2;i++){
std::cout << "1";
}
std::cout << std::endl;
}
return 0;
}
streingmust