結果
| 問題 |
No.908 うしたぷにきあくん文字列
|
| コンテスト | |
| ユーザー |
Ilag
|
| 提出日時 | 2019-12-30 07:49:35 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 333 bytes |
| コンパイル時間 | 1,527 ms |
| コンパイル使用メモリ | 165,396 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-07 15:43:39 |
| 合計ジャッジ時間 | 2,252 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 12 WA * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// Welcome to my source code!
int main() {
char c[101];
int i = 1;
bool flag = true;
while (cin >> c[i]) {
if (i % 2 == 0 && c[i] != ' ') flag = false;
i++;
}
if (flag) cout << "Yes" << endl;
else cout << "No" << endl;
}
Ilag