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 listApr 17, 2026 19:56Charles CabergsCharles CabergsScore: 62,268Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2026 19:5661,4692,058,365,0202,007,493,00020,994,0002,449,408
2Apr 17, 2026 19:5661,7092,060,834,1722,019,412,00016,995,0002,400,256
3Apr 17, 2026 19:5661,7972,065,093,6612,024,311,00014,994,0002,297,856
4Apr 17, 2026 19:5662,1802,081,633,4482,034,938,00016,991,0002,355,200
5Apr 17, 2026 19:5662,2682,082,845,9222,040,852,00013,992,0002,379,776
6Apr 17, 2026 19:5662,3472,090,308,6602,041,458,00015,995,0002,433,024
7Apr 17, 2026 19:5662,3972,092,417,7322,050,119,0008,996,0002,318,336
8Apr 17, 2026 19:5664,4452,159,609,0232,107,711,00018,988,0002,281,472
9Apr 17, 2026 19:5664,8662,173,611,9182,123,601,00016,988,0002,465,792