atcoder-rust-snippets
This is a Rust snippet for AtCoder.
Usage
After installation, open a Rust file and enter the Prefix from the Feature.
Features
You can use output and frequently used variables.
The available snippets are as follows.
Prefix |
Description |
tmplt |
Template |
nmtmplt |
Template for handling n and m |
oans |
Output ans |
oY |
Output Yes |
oy |
Output yes |
oN |
Output No |
on |
Output no |
pbit |
Bit search |
bins |
Binary search |
for0 |
Loop from 0 |
ffor |
Double loop |
vusi |
Vector of usize |
visi |
Vector of isize |
vf64 |
Vector of f64 |
hmap |
HashMap |
isP |
Prime number determination |
vv |
Two-dimensional array |
mpuu |
HashMap<usize, usize> |
mpii |
HashMap<isize, isize> |
License
The source code is licensed under the Apache License, Version 2.0, January 2004.
Versioning
vscode-icons follows Semantic Versioning 2.0.0.
Enjoy!
| |