結果
| 問題 | No.739 大事なことなので2度言います |
| コンテスト | |
| ユーザー |
hiro_ei1812
|
| 提出日時 | 2019-07-14 15:30:07 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 265 bytes |
| コンパイル時間 | 391 ms |
| コンパイル使用メモリ | 55,656 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-11-24 04:41:00 |
| 合計ジャッジ時間 | 903 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 6 WA * 1 |
ソースコード
#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