結果
問題 | No.908 うしたぷにきあくん文字列 |
ユーザー |
|
提出日時 | 2019-10-19 12:05:30 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 290 bytes |
コンパイル時間 | 222 ms |
コンパイル使用メモリ | 102,272 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-30 15:04:24 |
合計ジャッジ時間 | 808 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
#include <stdio.h>int main(void){char c; bool f = false;while((c = getchar()) != '\n' and c != '\0'){f = not f;if(f){ if('a' <= c and c <= 'z') continue;}else if(c == ' ') continue;puts("No"); return 0;}puts("Yes");return 0;}