Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listSep 24, 2024 12:18Alex KentAlex KentError
Source Code

Source code access is restricted. Log in to request access.

Challenge History
DateChallengerCostTypeStatus
Oct 31, 2026 16:33Andrew Epstein10.08CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 17:11020,021,620,50220,007,631,0003,005,00016,384Killed by timeout
2Sep 24, 2024 12:1828,395968,703,344933,030,0004,000,0002,355,200
3Sep 24, 2024 12:1828,642976,796,143939,192,0006,001,0002,457,600
4Sep 24, 2024 12:1829,293995,237,385961,672,0004,998,0002,347,008
5Sep 24, 2024 12:1829,383993,649,068964,653,0004,998,0002,453,504
6Sep 24, 2024 12:1829,410998,246,498966,521,0003,998,0002,400,256
7Sep 24, 2024 12:1829,6401,007,141,524972,133,0005,994,0002,392,064
8Sep 24, 2024 12:1829,8711,006,753,310981,754,0003,999,0002,478,080
9Sep 24, 2024 12:1833,0831,115,433,0821,086,754,0004,998,0002,359,296
10Sep 24, 2024 12:1833,1621,117,877,9551,091,333,0002,998,0002,363,392