結果
| 問題 | No.841 8/32 | 
| コンテスト | |
| ユーザー |  Tlapesium | 
| 提出日時 | 2019-03-20 14:35:41 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 610 bytes | 
| コンパイル時間 | 1,762 ms | 
| コンパイル使用メモリ | 191,944 KB | 
| 最終ジャッジ日時 | 2025-01-06 23:37:13 | 
| ジャッジサーバーID (参考情報) | judge2 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long long unsigned int ull;
#define INF 1LL << 29
#define MOD 1000000007
//      debug shrine
//
// #######################
//     ##           ##
//   ###################
//     ##           ##
//     ##           ##
//     ##           ##
//     ##           ##
//     ##           ##
int main() {
	string s1, s2;
	cin >> s1 >> s2;
	if (s1 == "Sun" || s1 == "Sat") {
		if (s2 == "Sun" || s2 == "Sat") {
			cout << "8/33" << endl;
		}
		else {
			cout << "8/32" << endl;
		}
	}
	else {
		cout << "8/31" << endl;
	}
	return 0;
}
            
            
            
        