結果
| 問題 |
No.908 うしたぷにきあくん文字列
|
| コンテスト | |
| ユーザー |
jouyatou
|
| 提出日時 | 2019-10-20 14:43:37 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 366 bytes |
| コンパイル時間 | 1,418 ms |
| コンパイル使用メモリ | 160,428 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-02 17:25:43 |
| 合計ジャッジ時間 | 2,107 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 12 WA * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
std::string s;
getline(cin, s);
std::string a = "u s h i t a p u n i c h i a k u n";
bool answer = true;
for(int i = 0; i < a.size(); i++){
if(s.at(i) != a.at(i)){
answer = false;
break;
}
}
if(answer){
cout << "Yes" << endl;
}
else{
cout << "No" << endl;
}
}
jouyatou