結果

問題 No.2312 Turtleman and Gaming Console
ユーザー 👑 CleyLCleyL
提出日時 2023-05-30 10:39:56
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 15 ms / 2,000 ms
コード長 248 bytes
コンパイル時間 788 ms
コンパイル使用メモリ 67,316 KB
最終ジャッジ日時 2025-02-13 16:30:12
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
	int n;
	string s,t;cin>>n>>s>>t;
	for(int i = 0; n > i; i++){
		if(s[i] == t[i] && s[i] == 'o'){
			cout << "Lucky Turtleman" << endl;
			return 0;
		}
	}
	cout << "Unlucky Turtleman" << endl;
}
0