結果

問題 No.841 8/32
ユーザー chacoder1
提出日時 2021-03-16 22:58:12
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 405 bytes
コンパイル時間 1,937 ms
コンパイル使用メモリ 194,328 KB
最終ジャッジ日時 2025-01-19 17:39:57
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main(){
    string s,t;
    cin>>s>>t;
    if(s !="Sat" && s !="Sun") {
        cout<<"8/31"<<endl;
        return 0;
    }
     if(s =="Sat" || s =="Sun") {
         if(t =="Sat" || t =="Sun") {
             cout<<"8/33"<<endl;
             return 0;
         }
         else{
             cout<<"8/32"<<endl;
             return 0;
         }
     }
}
0