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:53Oleg SkinderevOleg SkinderevScore: 78,617Success
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:5377,8872,600,562,0102,556,289,00013,996,0002,445,312
2Apr 13, 2026 17:5378,1792,608,123,1632,563,929,00015,993,0002,338,816
3Apr 13, 2026 17:5378,3962,617,986,4162,567,062,00019,992,0002,330,624
4Apr 13, 2026 17:5378,4172,617,495,5722,567,769,00019,990,0002,269,184
5Apr 13, 2026 17:5378,6172,628,957,1452,576,378,00017,988,0002,334,720
6Apr 13, 2026 17:5378,7582,631,298,0452,580,014,00018,992,0002,330,624
7Apr 13, 2026 17:5379,3642,648,796,2802,602,023,00016,993,0002,269,184
8Apr 13, 2026 17:5380,2702,674,271,3002,635,902,00012,994,0002,428,928
9Apr 13, 2026 17:5382,0652,732,722,7592,691,164,00016,988,0002,269,184