結果
| 問題 | No.2312 Turtleman and Gaming Console |
| ユーザー |
|
| 提出日時 | 2023-05-30 10:39:56 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 248 bytes |
| 記録 | |
| コンパイル時間 | 531 ms |
| コンパイル使用メモリ | 80,128 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-01 00:54:47 |
| 合計ジャッジ時間 | 1,748 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
#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;
}