結果
| 問題 | No.739 大事なことなので2度言います |
| コンテスト | |
| ユーザー |
chacoder1
|
| 提出日時 | 2021-01-02 19:38:47 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 279 bytes |
| コンパイル時間 | 1,949 ms |
| コンパイル使用メモリ | 193,704 KB |
| 最終ジャッジ日時 | 2025-01-17 09:06:47 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 6 WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
string S;
cin>>S;
int len=S.length();
if(S.substr(0,len/2)==S.substr(len/2,len/2)){
cout<<"YES"<<endl;
}
else{
cout<<"NO"<<endl;
}
//cout<<S.substr(0,len/2)<<" "<<S.substr(len/2,len/2)<<endl;
}
chacoder1