結果
問題 | No.857 素振り |
ユーザー | fal_rnd |
提出日時 | 2019-11-22 00:45:30 |
言語 | Java21 (openjdk 21) |
結果 |
RE
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 1,873 ms |
コンパイル使用メモリ | 73,928 KB |
実行使用メモリ | 54,364 KB |
最終ジャッジ日時 | 2024-04-19 10:06:24 |
合計ジャッジ時間 | 3,689 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 115 ms
41,344 KB |
testcase_01 | AC | 120 ms
41,312 KB |
testcase_02 | AC | 112 ms
40,960 KB |
testcase_03 | AC | 114 ms
41,388 KB |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
ソースコード
import java.util.*; class Main{ public static void main(String[] $) { Scanner s=new Scanner(System.in); int a=s.nextInt(),b=s.nextInt(),c=s.nextInt(); int r=c; if(a<=c) --r; if(b<=c) --r; System.out.println(r); } }