結果
問題 |
No.730 アルファベットパネル
|
ユーザー |
![]() |
提出日時 | 2018-09-16 18:07:29 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 237 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 22,400 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-18 07:26:08 |
合計ジャッジ時間 | 520 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 5 WA * 3 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:6:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%s", a); | ~~~~~^~~~~~~~~
ソースコード
#include <stdio.h> int main(void) { char a[11]; scanf("%s", a); if(a[0] != a[1] != a[2] != a[4] != a[5] != a[6] != a[7] != a[8] != a[9] != a[10]){ printf("YES\n"); } else{ printf("NO\n"); } }