結果
問題 |
No.739 大事なことなので2度言います
|
ユーザー |
![]() |
提出日時 | 2019-07-14 15:29:06 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 265 bytes |
コンパイル時間 | 691 ms |
コンパイル使用メモリ | 56,724 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-24 04:39:48 |
合計ジャッジ時間 | 1,249 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 7 |
ソースコード
#include <iostream> #include <string> using namespace std; int main(void){ string str; int i; cin>>str; size_t size=str.length(); size/=2; for(i=0;i<size;i++){ if(str[i]!=str[size+i]){ cout<<"No\n"; return 0; } } cout<<"Yes\n"; return 0; }