結果
| 問題 | No.773 コンテスト |
| コンテスト | |
| ユーザー |
himo
|
| 提出日時 | 2019-09-17 18:09:37 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 1,135 ms |
| コンパイル使用メモリ | 174,468 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-03-29 03:48:24 |
| 合計ジャッジ時間 | 1,917 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
#include "bits/stdc++.h"
using namespace std;
int main(){
int a,b;
cin >> a >>b;
int ans =3;
for(int i=a;i<=b;i++){
if(i==23||i==24||i==25){
ans--;
}
}
cout << ans <<endl;
}
himo