Submission #3779285
Source Code Expand
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atcoder { class aaaa { static void Main(string[] args) { string[] input = Console.ReadLine().Split(' '); int N = int.Parse(input[0]);int A = int.Parse(input[1]);int B = int.Parse(input[2]); int planA = N * A; if (planA > B) { Console.WriteLine(B); }else{ Console.WriteLine(planA); } } } }
Submission Info
Submission Time | |
---|---|
Task | A - Parking |
User | Atria |
Language | C# (Mono 4.6.2.0) |
Score | 100 |
Code Size | 582 Byte |
Status | AC |
Exec Time | 22 ms |
Memory | 11092 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt, sample_03.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, sample_01.txt, sample_02.txt, sample_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | AC | 21 ms | 9044 KB |
02.txt | AC | 21 ms | 9044 KB |
03.txt | AC | 21 ms | 11092 KB |
04.txt | AC | 21 ms | 9044 KB |
05.txt | AC | 21 ms | 9044 KB |
06.txt | AC | 22 ms | 11092 KB |
07.txt | AC | 21 ms | 9044 KB |
sample_01.txt | AC | 21 ms | 9044 KB |
sample_02.txt | AC | 21 ms | 9044 KB |
sample_03.txt | AC | 22 ms | 11092 KB |