結果
| 問題 | No.739 大事なことなので2度言います |
| コンテスト | |
| ユーザー |
hiro_ei1812
|
| 提出日時 | 2019-07-14 15:29:06 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 265 bytes |
| 記録 | |
| コンパイル時間 | 629 ms |
| コンパイル使用メモリ | 70,124 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-18 02:05:58 |
| 合計ジャッジ時間 | 1,251 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
hiro_ei1812