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 24, 2026 11:10Dominique GarmierDominique GarmierScore: 17,787Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2026 11:1117,723600,927,427578,875,0005,998,0002,322,432
2Apr 24, 2026 11:1117,731603,182,363579,160,0005,991,0002,457,600
3Apr 24, 2026 11:1117,759602,829,428580,062,0005,990,0002,445,312
4Apr 24, 2026 11:1117,770602,815,050580,441,0005,994,0002,445,312
5Apr 24, 2026 11:1117,787609,590,988580,014,0006,988,0002,437,120
6Apr 24, 2026 11:1118,044614,335,786592,486,0002,997,0002,441,216
7Apr 24, 2026 11:1118,065622,866,789589,162,0006,990,0002,449,408
8Apr 24, 2026 11:1118,075614,443,549592,483,0003,996,0002,351,104
9Apr 24, 2026 11:1118,120616,919,539591,977,0005,999,0002,449,408