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 19, 2026 12:53Andrew EpsteinAndrew EpsteinScore: 60,467Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2026 12:5560,2611,999,950,9981,983,372,0005,246,0002,121,728stderr
2Sep 19, 2026 12:5560,3292,001,487,2281,985,624,0005,241,0002,121,728stderr
3Sep 19, 2026 12:5560,4532,005,507,6711,989,811,0005,150,0002,121,728stderr
4Sep 19, 2026 12:5560,4532,005,476,1611,988,761,0006,189,0002,121,728stderr
5Sep 19, 2026 12:5560,4672,006,692,1531,990,268,0005,149,0002,121,728stderr
6Sep 19, 2026 12:5560,5132,008,080,5521,991,754,0005,193,0002,121,728stderr
7Sep 19, 2026 12:5560,7602,016,342,4781,999,903,0005,179,0002,121,728stderr
8Sep 19, 2026 12:5560,7892,017,194,7842,000,815,0005,225,0002,121,728stderr
9Sep 19, 2026 12:5560,8052,018,550,3482,001,414,0005,170,0002,121,728stderr