結果
| 問題 | 
                            No.773 コンテスト
                             | 
                    
| コンテスト | |
| ユーザー | 
                             dgd1724
                         | 
                    
| 提出日時 | 2019-04-01 22:12:49 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 469 bytes | 
| コンパイル時間 | 414 ms | 
| コンパイル使用メモリ | 58,188 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-11-27 03:04:27 | 
| 合計ジャッジ時間 | 1,322 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 20 WA * 1 | 
ソースコード
#include <fstream>
#include <iostream>
#include <string>
int main() {
	//std::ifstream inf("Text.txt");	std::cin.rdbuf(inf.rdbuf());
	int A, B;
	std::cin >> A >> B;
	int ans = 3;
	if (A > 25) {}
	else if (A == 25) { ans = 2; }
	else if (A == 24) { ans = 1; }
	else if (A == 23 && B == 24) { ans = 1; }
	else {
		if (B < 23) {}
		else if (B == 23) { ans = 2; }
		else if (B == 24) { ans = 1; }
		else { ans = 0; }
	}
	std::cout << ans << std::endl;
	return 0;
}
            
            
            
        
            
dgd1724