Submission #3781377
Source Code Expand
import java.util.*; public 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(); System.out.println(A+B>=C?"Yes":"No"); } }
Submission Info
Submission Time | |
---|---|
Task | A - Two Coins |
User | on0 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 259 Byte |
Status | AC |
Exec Time | 97 ms |
Memory | 23508 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 | 97 ms | 19668 KB |
example_1 | AC | 97 ms | 19660 KB |
example_2 | AC | 96 ms | 21332 KB |
example_3 | AC | 96 ms | 23508 KB |
rand_0 | AC | 94 ms | 18644 KB |
rand_1 | AC | 96 ms | 23124 KB |
rand_2 | AC | 96 ms | 21204 KB |
rand_3 | AC | 96 ms | 21972 KB |
rand_4 | AC | 95 ms | 19028 KB |
rand_5 | AC | 95 ms | 22740 KB |