Submission #2408066
Source Code Expand
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 硬貨 int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if(a + b < c){ System.out.println("No"); }else{ System.out.println("Yes"); } } }
Submission Info
Submission Time | |
---|---|
Task | A - Two Coins |
User | fuu1214 |
Language | Java7 (OpenJDK 1.7.0) |
Score | 100 |
Code Size | 333 Byte |
Status | AC |
Exec Time | 95 ms |
Memory | 22612 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | example_0, example_1, example_2, example_3 |
All | example_0, example_1, example_2, example_3, rand_0, rand_1, rand_2, rand_3, rand_4, rand_5 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
example_0 | AC | 94 ms | 18772 KB |
example_1 | AC | 94 ms | 20820 KB |
example_2 | AC | 94 ms | 19028 KB |
example_3 | AC | 93 ms | 20820 KB |
rand_0 | AC | 94 ms | 20820 KB |
rand_1 | AC | 94 ms | 19028 KB |
rand_2 | AC | 93 ms | 18772 KB |
rand_3 | AC | 93 ms | 18772 KB |
rand_4 | AC | 94 ms | 22612 KB |
rand_5 | AC | 95 ms | 20820 KB |