結果
| 問題 | No.932 解法破綻!高橋君 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-11-29 21:59:58 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 395 bytes |
| 記録 | |
| コンパイル時間 | 607 ms |
| コンパイル使用メモリ | 65,444 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-20 22:14:08 |
| 合計ジャッジ時間 | 1,515 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 RE * 2 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(){
string s;
cin >> s;
for (int i=0; i<s.size()-3; i+=3){
string s1=s.substr(i,2);
string s2=s.substr(i+3,2);
// cout << s1 << s2 << endl;
if (s1!=s2) {
cout << "Failed..." << endl;
return 0;
}
}
cout << "Done!" << endl;
return 0;
}