結果
問題 | No.773 コンテスト |
ユーザー |
|
提出日時 | 2019-04-16 21:32:34 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 213 bytes |
コンパイル時間 | 103 ms |
コンパイル使用メモリ | 29,568 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-22 08:23:50 |
合計ジャッジ時間 | 863 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
#include <stdio.h> int main() { int A, B; scanf("%d%d", &A, &B); int d[3] = { 23, 24, 25 }; int n = 0; for (int i = 0; i < 3; i++) { if (d[i] < A || d[i] > B) n++; } printf("%d\n", n); return 0; }