Submission #1117515
Source Code Expand
using System; using System.Linq; namespace arc069_a { class Program { static void Main(string[] args) { long[] x = Console.ReadLine().Split().Select(long.Parse).ToArray(); if (x[0] * 2 > x[1]) { Console.WriteLine(x[1] / 2); } else { Console.WriteLine(x[0] / 2 + x[1] / 4); } } } }
Submission Info
Submission Time | |
---|---|
Task | C - Scc Puzzle |
User | mencotton |
Language | C# (Mono 4.6.2.0) |
Score | 0 |
Code Size | 453 Byte |
Status | WA |
Exec Time | 24 ms |
Memory | 13396 KB |
Judge Result
Set Name | Sample | All | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 300 | ||||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 00_example_01.txt, 00_example_02.txt |
All | 00_example_01.txt, 00_example_02.txt, 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_example_01.txt | WA | 24 ms | 13268 KB |
00_example_02.txt | AC | 24 ms | 11220 KB |
01.txt | AC | 24 ms | 13268 KB |
02.txt | AC | 23 ms | 9172 KB |
03.txt | AC | 23 ms | 11220 KB |
04.txt | AC | 24 ms | 11220 KB |
05.txt | AC | 24 ms | 11348 KB |
06.txt | AC | 24 ms | 11348 KB |
07.txt | AC | 24 ms | 13396 KB |