cf/mirror

Interactive Factorial Guessing

CF
1773I2500· grandmaster3s1024 MB⇄ interactive

Examples

Sample 1of 1
Input
2
 
1
 
YES
 
0
 
2
 
YES
Output
? 0
 
! 1
 
? 0
 
? 19997
 
! 5982
1773I.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)