結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-07 14:22:40 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 264 bytes |
| 記録 | |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 37,188 KB |
| 最終ジャッジ日時 | 2026-02-22 13:02:51 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 10 |
ソースコード
#include <stdio.h>
void main(void){
int matchstick = 0;
int input = scanf("%d\n",&matchstick);
if(matchstick == 3){
printf("%d",7);
}else if(matchstick%2 == 0){
int numCount = matchstick/2;
for(int i = 0;i < numCount ; i++){
printf("%d",1);
}
}
}
Maeda