結果
| 問題 | No.333 門松列を数え上げ |
| コンテスト | |
| ユーザー |
sasa
|
| 提出日時 | 2025-03-07 13:56:03 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 148 bytes |
| 記録 | |
| コンパイル時間 | 75 ms |
| コンパイル使用メモリ | 35,200 KB |
| 実行使用メモリ | 5,760 KB |
| 最終ジャッジ日時 | 2026-07-06 22:13:15 |
| 合計ジャッジ時間 | 1,044 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 = 2000000000 - A;
}else{
ans = A - 1;
}
}
sasa