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 13, 2026 17:57Oleg SkinderevOleg SkinderevScore: 34,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 17:5733,9231,144,415,6861,107,458,00011,994,0002,461,696
2Apr 13, 2026 17:5734,0001,151,460,2051,107,012,00014,986,0002,269,184
3Apr 13, 2026 17:5734,0471,154,229,7991,106,564,00016,993,0002,330,624
4Apr 13, 2026 17:5734,1061,152,283,4711,108,517,00016,992,0002,416,640
5Apr 13, 2026 17:5734,1651,156,830,4441,111,453,00015,992,0002,490,368
6Apr 13, 2026 17:5734,1711,156,518,0241,108,666,00018,977,0002,338,816
7Apr 13, 2026 17:5734,1891,152,300,9741,111,256,00016,988,0002,342,912
8Apr 13, 2026 17:5734,3221,164,892,6781,115,627,00016,994,0002,269,184
9Apr 13, 2026 17:5734,3281,159,381,7191,116,837,00015,997,0002,334,720