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 29, 2026 13:36TudyMTudyMScore: 29,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2026 13:3929,197979,559,233948,539,00014,992,0002,486,272
2Apr 29, 2026 13:3929,311986,935,143945,301,00021,983,0002,551,808
3Apr 29, 2026 13:3929,413987,815,144955,662,00014,994,0002,293,760
4Apr 29, 2026 13:3929,453988,245,984957,982,00013,999,0002,310,144
5Apr 29, 2026 13:3929,6431,000,435,207964,231,00013,988,0002,297,856
6Apr 29, 2026 13:3929,8641,002,756,915967,547,00017,973,0002,293,760
7Apr 29, 2026 13:3929,8651,007,766,223971,570,00013,979,0002,297,856
8Apr 29, 2026 13:3929,9531,002,035,100975,480,00012,979,0002,310,144
9Apr 29, 2026 13:3930,0611,011,169,229978,027,00013,986,0002,555,904