Submission #5138695
Source Code Expand
Copy
void main() { auto ip = readAs!(int[]), A = ip[0], B = ip[1], T = ip[2]; writeln((T / A * B)); } // =================================== import std.stdio; import std.string; import std.functional; import std.algorithm; import std.range; import std.traits; import std.math; import std.container; import std.bigint; import std.numeric; import std.conv; import std.typecons; import std.uni; import std.ascii; import std.bitmanip; import core.bitop; T readAs(T)() if (isBasicType!T) { return readln.chomp.to!T; } T readAs(T)() if (isArray!T) { return readln.split.to!T; } T[][] readMatrix(T)(uint height, uint width) if (!isSomeChar!T) { auto res = new T[][](height, width); foreach(i; 0..height) { res[i] = readAs!(T[]); } return res; } T[][] readMatrix(T)(uint height, uint width) if (isSomeChar!T) { auto res = new T[][](height, width); foreach(i; 0..height) { auto s = rs; foreach(j; 0..width) res[i][j] = s[j].to!T; } return res; } int ri() { return readAs!int; } double rd() { return readAs!double; } string rs() { return readln.chomp; }
Submission Info
Submission Time | |
---|---|
Task | A - Biscuit Generator |
User | private_yusuke |
Language | D (DMD64 v2.070.1) |
Score | 100 |
Code Size | 1125 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | All | Sample | ||||
---|---|---|---|---|---|---|
Score / Max Score | 100 / 100 | 0 / 0 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
All | sample_01, sample_02, sample_03, testcase_1, testcase_10, testcase_2, testcase_3, testcase_4, testcase_5, testcase_6, testcase_7, testcase_8, testcase_9 |
Sample | sample_01, sample_02, sample_03 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01 | AC | 1 ms | 256 KB |
sample_02 | AC | 1 ms | 256 KB |
sample_03 | AC | 1 ms | 256 KB |
testcase_1 | AC | 1 ms | 256 KB |
testcase_10 | AC | 1 ms | 256 KB |
testcase_2 | AC | 1 ms | 256 KB |
testcase_3 | AC | 1 ms | 256 KB |
testcase_4 | AC | 1 ms | 256 KB |
testcase_5 | AC | 1 ms | 256 KB |
testcase_6 | AC | 1 ms | 256 KB |
testcase_7 | AC | 1 ms | 256 KB |
testcase_8 | AC | 1 ms | 256 KB |
testcase_9 | AC | 1 ms | 256 KB |