結果
| 問題 | No.739 大事なことなので2度言います |
| コンテスト | |
| ユーザー |
chacoder1
|
| 提出日時 | 2021-01-02 19:38:47 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 279 bytes |
| 記録 | |
| コンパイル時間 | 1,290 ms |
| コンパイル使用メモリ | 209,900 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-16 08:08:45 |
| 合計ジャッジ時間 | 2,008 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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