結果

問題 No.841 8/32
ユーザー d_sei
提出日時 2019-08-12 16:42:35
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 300 bytes
コンパイル時間 638 ms
コンパイル使用メモリ 68,608 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-16 09:01:23
合計ジャッジ時間 1,556 ms
ジャッジサーバーID
(参考情報)
judge4 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 3 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<algorithm>
#include <vector>
using namespace std;
int main() {
	string A, B;
	cin >> A >> B;
	if (A == "Sat" || A == "Sun") {
		if (B == "Sat" || B == "Sun") {
			cout << "8/33" << endl;
		}
		else {
			cout << "8/32" << endl;
		}
	}
	else {
		cout << "3/31" << endl;
	}
}
0