結果
| 問題 | No.333 門松列を数え上げ |
| コンテスト | |
| ユーザー |
sasa
|
| 提出日時 | 2025-03-07 14:01:11 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 159 bytes |
| 記録 | |
| コンパイル時間 | 78 ms |
| コンパイル使用メモリ | 36,480 KB |
| 実行使用メモリ | 5,760 KB |
| 最終ジャッジ日時 | 2026-07-06 22:13:23 |
| 合計ジャッジ時間 | 957 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 7 |
ソースコード
#include <stdio.h>
int main(){
long A,B;
scanf("%ld%ld",&A,&B);
long ans = 0;
if(A > B){
ans = A - B;
}else{
ans = A - 2;
}
printf("%ld",ans);
}
sasa