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 18, 2025 09:53Chandrasekaran AkashChandrasekaran AkashScore: 471,035Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2025 09:53467,30315,456,599,05915,310,057,000110,927,0002,473,984
2Apr 18, 2025 09:53467,66615,468,166,57515,343,015,00089,947,0002,465,792
3Apr 18, 2025 09:53468,70615,510,907,80415,356,365,000110,923,0002,510,848
4Apr 18, 2025 09:53468,99515,515,836,23415,389,909,00086,937,0002,306,048
5Apr 18, 2025 09:53471,03515,577,187,85015,425,218,000118,924,0002,347,008
6Apr 18, 2025 09:53471,75915,606,986,74915,448,110,000119,930,0002,482,176
7Apr 18, 2025 09:53472,77815,641,871,31115,494,742,000106,929,0002,367,488
8Apr 18, 2025 09:53473,22515,653,846,23215,505,490,000110,931,0002,334,720
9Apr 18, 2025 09:53475,28815,725,160,55515,573,565,000110,925,0002,494,464