結果
| 問題 | No.841 8/32 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-04-08 10:03:10 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 39 ms / 2,000 ms | 
| コード長 | 417 bytes | 
| コンパイル時間 | 624 ms | 
| コンパイル使用メモリ | 68,684 KB | 
| 最終ジャッジ日時 | 2025-01-09 15:06:04 | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 | 
ソースコード
#include <iostream>
void solve() {
    std::string s, t;
    std::cin >> s >> t;
    std::string ans;
    if (s != "Sat" && s != "Sun") {
        ans = "8/31";
    } else if (t != "Sat" && t != "Sun") {
        ans = "8/32";
    } else {
        ans = "8/33";
    }
    std::cout << ans << std::endl;
}
int main() {
    std::cin.tie(nullptr);
    std::ios::sync_with_stdio(false);
    solve();
    return 0;
}
            
            
            
        