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 listSep 21, 2024 15:13Alex KentAlex KentScore: 69,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2024 15:1369,1682,311,552,9582,254,556,00027,982,0002,281,472
2Sep 21, 2024 15:1369,2152,308,977,7242,252,114,00031,987,0002,326,528
3Sep 21, 2024 15:1369,2182,312,140,5072,257,202,00026,990,0002,281,472
4Sep 21, 2024 15:1369,2362,311,644,9262,257,797,00026,985,0002,281,472
5Sep 21, 2024 15:1369,3182,315,627,1672,255,532,00031,965,0002,514,944
6Sep 21, 2024 15:1369,4832,320,193,6602,261,955,00030,972,0002,281,472
7Sep 21, 2024 15:1369,6162,326,784,6372,267,341,00029,978,0002,281,472
8Sep 21, 2024 15:1369,8882,334,265,3252,277,321,00028,978,0002,281,472
9Sep 21, 2024 15:1369,9102,334,345,5022,279,060,00027,976,0002,281,472