結果
問題 | No.841 8/32 |
ユーザー |
|
提出日時 | 2019-09-02 17:52:02 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 251 bytes |
コンパイル時間 | 1,753 ms |
コンパイル使用メモリ | 162,716 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-16 06:04:33 |
合計ジャッジ時間 | 3,276 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 WA * 5 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ string s1,s2; cin>>s1>>s2; vector<string> ans={"8/31","8/32","8/33"}; int cnt=0; if(s1=="Sat"||s1=="Sun")++cnt; if(s2=="Sat"||s2=="Sun")++cnt; cout<<ans[cnt]<<endl; }