結果
問題 | No.841 8/32 |
ユーザー |
![]() |
提出日時 | 2020-03-18 14:51:31 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 238 bytes |
コンパイル時間 | 1,530 ms |
コンパイル使用メモリ | 165,824 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-14 01:54:59 |
合計ジャッジ時間 | 2,256 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
#include <bits/stdc++.h> using namespace std; signed main(){ string s,t;cin>>s>>t; int A=0; if(s=="Sun"||s=="Sat")A+=2; if(t=="Sun"||t=="Sat")A++; cout<<"8/3"; if(A<=1)cout<<1<<endl; else cout<<A<<endl; }