結果

問題 No.841 8/32
ユーザー test
提出日時 2020-09-11 06:02:19
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 336 bytes
コンパイル時間 2,100 ms
コンパイル使用メモリ 194,040 KB
最終ジャッジ日時 2025-01-14 09:28:29
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i, ss, ee) for (int i = ss; i < ee; ++i)
using namespace std;

void solve() {
  int ans = 31;
  string s;
  rep(i, 0, 2) {
    cin >> s;
    if (s == "Sun" or s == "Sat") ans++;
  }
  cout << "8/" << ans << endl;
}

int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  solve();
  getchar();
}
0