結果
| 問題 | No.1362 [Zelkova 8th Tune] Black Sheep |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-01-22 22:07:00 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 292 bytes |
| 記録 | |
| コンパイル時間 | 1,264 ms |
| コンパイル使用メモリ | 179,312 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-02 09:38:04 |
| 合計ジャッジ時間 | 2,788 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 36 WA * 2 |
ソースコード
/* Author - Ansh Singh
Date - 22/01/2021 */
# include<bits/stdc++.h>
using namespace std;
int main()
{
string str;
int i;
cin>>str;
for(i=0;i<str.size()-1;i++)
{
if(str[i]!=str[i+1])
break;
}
cout<<i+2<<" "<<str[i+1];
cout<<"\n"
;
}