結果
| 問題 | No.908 うしたぷにきあくん文字列 |
| コンテスト | |
| ユーザー |
water
|
| 提出日時 | 2020-03-05 11:01:33 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 284 bytes |
| 記録 | |
| コンパイル時間 | 974 ms |
| コンパイル使用メモリ | 180,304 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-01 11:25:10 |
| 合計ジャッジ時間 | 2,046 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 WA * 9 |
ソースコード
#include <bits/stdc++.h>
#define INF 990000000
//9
using namespace std;
int main() {
string s;
cin>>s;
int flag=0;
for(int i=0;i<(int)s.size();i++){
if(i%2==0){
if(!islower(s[i]))flag=1;
}else{
if(s[i]!=' ')flag=1;
}
}
if(flag==0)
cout << "Yes"<<endl;
else
cout << "No"<<endl;
}
water