結果
| 問題 | No.841 8/32 | 
| コンテスト | |
| ユーザー |  tomarint2 | 
| 提出日時 | 2019-06-28 21:25:52 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 792 bytes | 
| コンパイル時間 | 650 ms | 
| コンパイル使用メモリ | 77,712 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-02 04:20:41 | 
| 合計ジャッジ時間 | 1,539 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 | 
ソースコード
#include <iostream>
#include <cstring>
#include <vector>
#include <set>
#include <list>
#include <map>
#include <deque>
#include <algorithm>
#include <utility>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<ll> vll;
typedef vector<vector<ll>> vvll;
#define for1(i,n) for (ll i=0;i<(n);i++)
#define for2(i,m,n) for (ll i=(m);i<(n);i++)
#define for3(i,m,n,d) for (ll i=(m);i<(n);i+=(d))
#define DEBUG 0
void solve()
{
    string s1,s2;
    cin >> s1 >> s2;
    if (s1 == "Sat" || s1 == "Sun") {
        if (s2 == "Sat" || s2 == "Sun") {
            cout << "8/33" << endl;
            return;
        }
        cout << "8/32" << endl;
        return;
    }
    cout << "8/31" << endl;
}
int main()
{
    do {
        solve();
    } while (DEBUG);
}
            
            
            
        