結果

問題 No.908 うしたぷにきあくん文字列
ユーザー QCFium
提出日時 2019-10-18 21:22:38
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 264 bytes
コンパイル時間 1,541 ms
コンパイル使用メモリ 167,048 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-25 14:45:22
合計ジャッジ時間 2,290 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

int main() {
	bool res = true;
	for (int i = 0; ; i++) {
		int c = getchar();
		if (c == EOF) break;
		if (c == '\r' || c == '\n') break;
		if (i % 2 && c != ' ') {
			res = false;
			break;
		}
	}
	puts(res ? "Yes" : "No");
	return 0;
}
0