結果
| 問題 |
No.841 8/32
|
| コンテスト | |
| ユーザー |
leafirby
|
| 提出日時 | 2019-06-28 22:28:33 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 272 bytes |
| コンパイル時間 | 1,621 ms |
| コンパイル使用メモリ | 167,180 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-02 04:54:45 |
| 合計ジャッジ時間 | 2,497 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 WA * 1 |
ソースコード
#include<bits/stdc++.h>
using namespace std;;
int main(){
string fir,sec;
cin >> fir >> sec;
if(fir=="Sat"&&sec=="Sun"||fir=="Sun"&&sec=="Sat")cout << "8/33" << endl;
else if(fir=="Sat"||fir=="Sun")cout << "8/32" << endl;
else cout << "8/31" << endl;
}
leafirby