結果
問題 |
No.841 8/32
|
ユーザー |
![]() |
提出日時 | 2019-09-25 07:15:14 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 316 bytes |
コンパイル時間 | 559 ms |
コンパイル使用メモリ | 59,704 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-21 14:47:56 |
合計ジャッジ時間 | 1,499 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 WA * 5 |
ソースコード
#include <fstream> #include <iostream> #include <utility> #include <string> int main() { //std::ifstream inf("Text.txt"); std::cin.rdbuf(inf.rdbuf()); int ans = 31; std::string S; for (int i = 0; i < 2; i++) { std::cin >> S; if (S[0] == 'S') { ans++; } } std::cout << "8/" << ans << std::endl; }