提出 #62753259


ソースコード 拡げる

#include <bits/stdc++.h>
using namespace std;

int main(){
  string s,t; cin >> s >> t;
  cout << 4-(s[0]=='s')*2-(t[0]=='s') << endl;
}

提出情報

提出日時
問題 A - Poisonous Oyster
ユーザ DeltaStruct
言語 C++ 20 (gcc 12.2)
得点 100
コード長 142 Byte
結果 AC
実行時間 1 ms
メモリ 3520 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 10
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt
All 00_sample_00.txt, 00_sample_01.txt, 01_all_00.txt, 01_all_01.txt, 01_all_02.txt, 01_all_03.txt, 02_random_00.txt, 02_random_01.txt, 02_random_02.txt, 02_random_03.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 1 ms 3492 KiB
00_sample_01.txt AC 1 ms 3520 KiB
01_all_00.txt AC 1 ms 3516 KiB
01_all_01.txt AC 1 ms 3460 KiB
01_all_02.txt AC 1 ms 3436 KiB
01_all_03.txt AC 1 ms 3460 KiB
02_random_00.txt AC 1 ms 3472 KiB
02_random_01.txt AC 1 ms 3424 KiB
02_random_02.txt AC 1 ms 3424 KiB
02_random_03.txt AC 1 ms 3436 KiB