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
int main(){ bool flag[100001]; int cycle[100001]; long long n,a,b,index,count; int tc; scanf("%d",&tc); for(int i=1;i<=tc;i++){ count = 0, index = 0; scanf("%lld %lld %lld",&n,&a,&b); while(1){ if(flag[a]){ for(int j=0;j
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)