AtCoderのDropboxの全ファイル名を次のスクリプトで調べた。
dropbox-shared-link-contents.py - Gist
-
パターン1。大体はこれ。
├── in │ ├── 01.txt │ └── 02.txt
# This file is automatically @generated by Cargo. | |
# It is not intended for manual editing. | |
version = 3 | |
[[package]] | |
name = "Inflector" | |
version = "0.11.4" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" |
#!/usr/bin/env rust-script | |
//! ```cargo | |
//! [package] | |
//! edition = "2021" | |
//! license = "CC0-1.0" | |
//! | |
//! [dependencies] | |
//! camino = "1.1.2" | |
//! cargo_metadata = "0.15.2" | |
//! clap = { version = "4.1.4", features = ["derive"] } |
use std::{ | |
cell::Cell, | |
num::Wrapping, | |
ops::{Add, BitAnd, BitOr, BitXor, Div, Mul, Rem, Sub}, | |
}; | |
fn main() { | |
// 1D | |
let mut arr = vec![Wrapping(1); 2]; | |
let cells = d1(&mut arr); |
AtCoderのDropboxの全ファイル名を次のスクリプトで調べた。
dropbox-shared-link-contents.py - Gist
パターン1。大体はこれ。
├── in
│ ├── 01.txt
│ └── 02.txt
//! ```cargo | |
//! [package] | |
//! name = "invesigate-dropbox" | |
//! version = "0.0.0" | |
//! authors = ["Ryo Yamashita <[email protected]>"] | |
//! edition = "2018" | |
//! publish = false | |
//! | |
//! [dependencies] | |
//! anyhow = "1.0.32" |
use anyhow::{ensure, Context as _}; | |
use byteorder::{BigEndian, ReadBytesExt as _}; | |
use easy_ext::ext; | |
use itertools::Itertools as _; | |
use ress::tokens::{IdentExt as _, StringLitExt as _}; | |
use scraper::{Html, Selector}; | |
fn main() -> anyhow::Result<()> { | |
let client = reqwest::blocking::Client::new(); |
//! This code is licensed under the [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/legalcode). | |
//! | |
//! ```cargo | |
//! [package] | |
//! name = "longlong" | |
//! version = "0.0.0" | |
//! authors = ["Ryo Yamashita <[email protected]>"] | |
//! edition = "2018" | |
//! publish = false | |
//! license = "CC0-1.0" |
//! ```cargo | |
//! [package] | |
//! name = "min-max-monoid" | |
//! version = "0.0.0" | |
//! authors = ["Ryo Yamashita <[email protected]>"] | |
//! edition = "2018" | |
//! publish = false | |
//! | |
//! [dependencies] | |
//! alga = "0.9.3" |