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 listDec 11, 2025 13:56Rajarshi BasuRajarshi BasuError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 31, 2026 16:23Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 16:420274,934,458250,627,00011,694,00016,384Exit with code 1:
2Dec 11, 2025 13:1647,9981,615,507,2461,567,949,00015,989,0002,502,656
3Dec 11, 2025 13:1648,1131,617,644,0271,571,758,00015,987,0002,400,256
4Dec 11, 2025 13:1648,1561,615,875,6611,573,167,00015,991,0002,396,160
5Dec 11, 2025 13:5648,2981,619,087,2481,574,849,00018,986,0002,428,928
6Dec 11, 2025 13:1648,4151,626,565,8911,580,703,00016,986,0002,412,544
7Dec 11, 2025 13:1648,4331,633,517,6611,581,322,00016,981,0002,416,640
8Dec 11, 2025 13:1648,4591,631,631,6571,578,155,00020,988,0002,281,472
9Dec 11, 2025 13:1648,5641,629,113,3121,585,643,00016,985,0002,273,280
10Dec 11, 2025 13:5648,6201,635,215,4431,587,486,00016,983,0002,457,600
11Dec 11, 2025 13:5648,6691,640,575,6171,593,083,00012,992,0002,506,752
12Dec 11, 2025 13:1648,7531,639,115,7801,590,856,00017,987,0002,342,912
13Dec 11, 2025 13:1653,2831,789,593,3911,735,361,00022,978,0002,281,472