結果
| 問題 | No.739 大事なことなので2度言います |
| コンテスト | |
| ユーザー |
glreto
|
| 提出日時 | 2020-09-19 19:22:38 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 259 bytes |
| コンパイル時間 | 1,717 ms |
| コンパイル使用メモリ | 167,292 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-23 18:14:41 |
| 合計ジャッジ時間 | 2,123 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 7 |
ソースコード
#include<bits//stdc++.h>
using namespace std;
int main(){
string s;cin >>s;
if(s.size()%2) cout << "No"<<endl;
else{
if(s.substr(0,s.size()/2)==s.substr(s.size()/2,s.size()/2)) cout << "Yes" <<endl;
else cout << "No"<<endl;
}
}
glreto