結果
問題 | No.739 大事なことなので2度言います |
ユーザー | sggkshio |
提出日時 | 2018-11-25 06:14:15 |
言語 | C++11 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 606 bytes |
コンパイル時間 | 1,765 ms |
コンパイル使用メモリ | 82,344 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-08-26 05:06:39 |
合計ジャッジ時間 | 1,593 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,380 KB |
testcase_01 | WA | - |
testcase_02 | AC | 2 ms
4,384 KB |
testcase_03 | WA | - |
testcase_04 | AC | 2 ms
4,380 KB |
testcase_05 | AC | 2 ms
4,376 KB |
testcase_06 | AC | 1 ms
4,380 KB |
testcase_07 | AC | 1 ms
4,380 KB |
testcase_08 | AC | 2 ms
4,380 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
ソースコード
#define _USE_MATH_DEFINES #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<string> #include<iostream> #include<iostream> #include<cctype> #include<cstdio> #include<vector> #include<stack> #include<queue> #include <algorithm> #include<math.h> #include<set> #include<map> #include <sstream> #include<iomanip> #include <ctype.h> using namespace std; //#include<bits/stdc++.h> int main() { string p; cin >> p; string a = p.substr(0, p.size() / 2); string b = p.substr(p.size() - 1, p.size() / 2); if (a == b&&p.size()%2==0)cout << "YES" << endl; else cout << "NO" << endl; return 0; }