Submission #72167207
Source Code Expand
#![allow(non_snake_case, unused_imports, unused_macros)]
use proconio::{input, fastout};
use itertools::Itertools;
use ac_library::*;
macro_rules! debug {
($($a:expr),* $(,)*) => {
#[cfg(debug_assertions)]
eprintln!(concat!($("| ", stringify!($a), "={:?} "),*, "|"), $(&$a),*);
};
}
#[fastout]
fn main() {
input! {
n: u32
}
println!("{}", 2_u32.pow(n) - 2 * n);
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - 2^n - 2*n |
| User | wasabiEater |
| Language | Rust (rustc 1.89.0) |
| Score | 100 |
| Code Size | 427 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 2160 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 01.txt, 02.txt, 11.txt |
| All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, 11.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01.txt | AC | 1 ms | 2032 KiB |
| 02.txt | AC | 0 ms | 2068 KiB |
| 03.txt | AC | 0 ms | 1968 KiB |
| 04.txt | AC | 0 ms | 1820 KiB |
| 05.txt | AC | 0 ms | 1876 KiB |
| 06.txt | AC | 0 ms | 2160 KiB |
| 07.txt | AC | 0 ms | 2056 KiB |
| 08.txt | AC | 0 ms | 2024 KiB |
| 09.txt | AC | 0 ms | 2088 KiB |
| 10.txt | AC | 0 ms | 1964 KiB |
| 11.txt | AC | 0 ms | 2088 KiB |