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