結果
| 問題 |
No.773 コンテスト
|
| コンテスト | |
| ユーザー |
nasu_ysmr
|
| 提出日時 | 2018-12-23 23:41:23 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 345 bytes |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 27,904 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-25 10:44:25 |
| 合計ジャッジ時間 | 990 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / 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