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 22, 2026 12:12BenBenScore: 30,739Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2026 12:1430,4051,025,402,340991,380,00011,992,0002,449,408
2Apr 22, 2026 12:1430,5061,030,292,657994,704,00011,996,0002,330,624
3Apr 22, 2026 12:1430,5831,030,177,957995,273,00013,989,0002,506,752
4Apr 22, 2026 12:1430,6411,033,882,685996,189,00014,987,0002,441,216
5Apr 22, 2026 12:1430,7391,031,314,6731,001,402,00012,992,0002,326,528
6Apr 22, 2026 12:1430,9511,041,747,3871,007,404,00013,991,0002,330,624
7Apr 22, 2026 12:1431,6631,072,782,2641,029,927,00014,955,0002,330,624
8Apr 22, 2026 12:1432,5051,089,296,1371,059,704,00012,984,0002,326,528
9Apr 22, 2026 12:1433,5101,138,238,3491,090,897,00014,957,0002,314,240