Skip to content

Commit

Permalink
agc036 a
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Feb 23, 2023
1 parent 7910e00 commit 7b5792c
Show file tree
Hide file tree
Showing 8 changed files with 94 additions and 15 deletions.
88 changes: 86 additions & 2 deletions agc036/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion agc036/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "agc036"
version = "0.1.0"
authors = ["bouzuya <m@bouzuya.net>"]
edition = "2018"

# dependencies added to new project
[dependencies]
num = "=0.2.1"
proconio = { version = "=0.3.6", features = ["derive"] }
superslice = "=1.0.0"

Expand Down
4 changes: 2 additions & 2 deletions agc036/src/bin/a.rs
Expand Up @@ -2,10 +2,10 @@ use proconio::input;

fn main() {
input! {
s: i64
s: usize,
};
let v = 1_000_000_000;
let x = (v - (s % v)) % v;
let y = (s + x) / v;
println!("{} {} {} {} {} {}", 0, 0, v, 1, x, y);
println!("0 0 {} 1 {} {}", v, x, y);
}
3 changes: 1 addition & 2 deletions agc036/src/bin/b.rs
@@ -1,5 +1,4 @@
use proconio::input;
use proconio::marker::Usize1;
use proconio::{input, marker::Usize1};

fn main() {
input! {
Expand Down
3 changes: 1 addition & 2 deletions agc036/src/bin/c.rs
@@ -1,5 +1,4 @@
use proconio::input;
use proconio::marker::Usize1;
use proconio::{input, marker::Usize1};

fn main() {
input! {
Expand Down
3 changes: 1 addition & 2 deletions agc036/src/bin/d.rs
@@ -1,5 +1,4 @@
use proconio::input;
use proconio::marker::Usize1;
use proconio::{input, marker::Usize1};

fn main() {
input! {
Expand Down
3 changes: 1 addition & 2 deletions agc036/src/bin/e.rs
@@ -1,5 +1,4 @@
use proconio::input;
use proconio::marker::Usize1;
use proconio::{input, marker::Usize1};

fn main() {
input! {
Expand Down
3 changes: 1 addition & 2 deletions agc036/src/bin/f.rs
@@ -1,5 +1,4 @@
use proconio::input;
use proconio::marker::Usize1;
use proconio::{input, marker::Usize1};

fn main() {
input! {
Expand Down

0 comments on commit 7b5792c

Please sign in to comment.