結果
| 問題 |
No.773 コンテスト
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-05-19 11:02:52 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 203 bytes |
| コンパイル時間 | 443 ms |
| コンパイル使用メモリ | 54,792 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-17 06:26:41 |
| 合計ジャッジ時間 | 1,447 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 WA * 8 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int A,B,ok;
cin>>A>>B;
if((A>25)||(B<23)){
ok=3;
}else if(A<23){
ok=25-B;
}else{
ok=A-24;
}
if(ok<0){
ok=0;
}
cout<<ok;
return 0;
}