結果
問題 | No.2836 Comment Out |
ユーザー |
![]() |
提出日時 | 2024-08-09 21:58:56 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 316 bytes |
コンパイル時間 | 712 ms |
コンパイル使用メモリ | 28,160 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-08-09 21:58:59 |
合計ジャッジ時間 | 2,603 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 52 |
ソースコード
#include <stdio.h>int main () {int n = 0;int a = 0;int res = 0;int is_ok = 0;res = scanf("%d", &n);while (n > 0) {res = scanf("%d", &a);if (a < 2) {is_ok++;}n--;}if (is_ok > 0) {printf("Yes\n");} else {printf("No\n");}return 0;}