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 20, 2026 23:51Charles CabergsCharles CabergsScore: 54,017Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 23:5253,6571,801,607,1741,758,707,00011,991,0002,449,408
2Apr 20, 2026 23:5253,6841,804,287,5621,761,601,0009,992,0002,457,600
3Apr 20, 2026 23:5253,7171,799,581,0611,758,677,00013,989,0002,498,560
4Apr 20, 2026 23:5253,8861,807,647,5321,765,250,00012,994,0002,465,792
5Apr 20, 2026 23:5254,0171,811,403,1721,767,577,00014,996,0002,449,408
6Apr 20, 2026 23:5254,3591,819,188,0711,783,855,0009,999,0002,490,368
7Apr 20, 2026 23:5254,4021,820,086,4881,781,276,00013,994,0002,265,088
8Apr 20, 2026 23:5254,4791,825,670,0611,782,836,00014,990,0002,453,504
9Apr 20, 2026 23:5256,8251,902,577,2331,864,237,00010,995,0002,441,216