結果
| 問題 |
No.1362 [Zelkova 8th Tune] Black Sheep
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-01-22 22:07:00 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 292 bytes |
| コンパイル時間 | 2,094 ms |
| コンパイル使用メモリ | 167,324 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-28 01:05:50 |
| 合計ジャッジ時間 | 3,647 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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"
;
}