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