Submission #51424462


Source Code Expand

use proconio::input;

fn main() {
    input! {
        x: i64
    };
    let ans = num::Integer::div_floor(&x, &10);
    println!("{}", ans);
}

Submission Info

Submission Time
Task C - Integer Division
User bouzuya
Language Rust (rustc 1.70.0)
Score 200
Code Size 144 Byte
Status AC
Exec Time 1 ms
Memory 2056 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 5
AC × 18
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 00_sample_04.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 00_sample_04.txt, 01_max_00.txt, 02_min_00.txt, 03_border_00.txt, 03_border_01.txt, 04_near_zero_00.txt, 04_near_zero_01.txt, 04_near_zero_02.txt, 05_small_00.txt, 05_small_01.txt, 06_random_00.txt, 06_random_01.txt, 07_integer_00.txt, 07_integer_01.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 1 ms 1792 KiB
00_sample_01.txt AC 1 ms 2000 KiB
00_sample_02.txt AC 1 ms 1924 KiB
00_sample_03.txt AC 1 ms 1924 KiB
00_sample_04.txt AC 1 ms 1956 KiB
01_max_00.txt AC 1 ms 1928 KiB
02_min_00.txt AC 1 ms 1932 KiB
03_border_00.txt AC 1 ms 1924 KiB
03_border_01.txt AC 1 ms 2048 KiB
04_near_zero_00.txt AC 1 ms 1912 KiB
04_near_zero_01.txt AC 1 ms 1912 KiB
04_near_zero_02.txt AC 1 ms 1848 KiB
05_small_00.txt AC 1 ms 1960 KiB
05_small_01.txt AC 1 ms 1916 KiB
06_random_00.txt AC 1 ms 1860 KiB
06_random_01.txt AC 1 ms 1884 KiB
07_integer_00.txt AC 1 ms 2056 KiB
07_integer_01.txt AC 1 ms 1888 KiB