Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#include
#define fastread() ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL) #define nl "\n" #define ll long long #define all(x) x.begin(), x.end() #define Unique(x) x.resize(distance(x.begin(),unique(all(x)))); #define ff first #define ss second using namespace std; #define int long long const int N=2e5+7,M=1e9+7; struct vertex{ int pre,flag,child[26]; vertex(){ pre=flag=0; for (int i=0;i<26;i++) child[i]=-1; } }; vector
Trie; int avail; void insert(string &s){ int cur=0; Trie[cur].pre++; for (int i=0;i
>T; for (int i=1;i<=T;i++) solve(i); }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)