結果
| 問題 | No.773 コンテスト |
| コンテスト | |
| ユーザー |
nasu_ysmr
|
| 提出日時 | 2018-12-23 23:41:23 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 345 bytes |
| 記録 | |
| コンパイル時間 | 166 ms |
| コンパイル使用メモリ | 36,672 KB |
| 最終ジャッジ日時 | 2026-02-22 02:15:48 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 21 |
ソースコード
//No.773
#include<stdio.h>
void main(){
int A, B;
scanf("%d %d", &A, &B);
if(A<=23&&B>=25) printf("0");
else if(A>25 || B<23) printf("3");
else if(25>=A>23&&B>=25){
printf("%d", A-23);
}else if(A<=23&&23<=B<25){
printf("%d", 25-B);
}else if(23<=A<=25&&A==B){
printf("2");
}
}
nasu_ysmr