Submission #16626526


Source Code Expand

Copy
use proconio::input;

fn main() {
    input! {
        s: i64
    };
    let v = 1_000_000_000;
    let x = (v - (s % v)) % v;
    let y = (s + x) / v;
    println!("{} {} {} {} {} {}", 0, 0, v, 1, x, y);
}

Submission Info

Submission Time
Task A - Triangle
User bouzuya
Language Rust (1.42.0)
Score 400
Code Size 207 Byte
Status
Exec Time 7 ms
Memory 2104 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample-01.txt, sample-02.txt, sample-03.txt
All 400 / 400 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt, sample-01.txt, sample-02.txt, sample-03.txt
Case Name Status Exec Time Memory
01-01.txt 7 ms 2028 KB
01-02.txt 2 ms 2004 KB
01-03.txt 2 ms 1936 KB
01-04.txt 1 ms 2024 KB
01-05.txt 1 ms 2016 KB
01-06.txt 1 ms 2036 KB
01-07.txt 2 ms 2040 KB
01-08.txt 1 ms 2072 KB
01-09.txt 2 ms 2104 KB
01-10.txt 2 ms 2092 KB
01-11.txt 4 ms 2016 KB
01-12.txt 3 ms 1892 KB
01-13.txt 3 ms 2076 KB
sample-01.txt 1 ms 2064 KB
sample-02.txt 1 ms 2104 KB
sample-03.txt 2 ms 2048 KB