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 listJun 20, 2023 06:39matsuoka-601matsuoka-601Score: 12,034Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2023 06:3911,885453,659,378392,213,57602,289,664
2Jun 20, 2023 06:3911,898414,943,488386,647,0005,994,0002,285,568
3Jun 20, 2023 06:3911,959484,686,099394,636,54302,289,664
4Jun 20, 2023 06:3912,002419,530,793390,089,0005,986,0002,306,048
5Jun 20, 2023 06:3912,013418,699,312392,443,0003,994,0002,285,568
6Jun 20, 2023 06:3912,026421,623,368391,862,0004,998,0002,285,568
7Jun 20, 2023 06:3912,034460,881,033397,113,43802,285,568
8Jun 20, 2023 06:3912,034420,758,703391,121,0005,986,0002,486,272
9Jun 20, 2023 06:3912,038422,220,380391,279,0005,988,0002,486,272
10Jun 20, 2023 06:3912,048419,400,534392,583,0004,994,0002,486,272
11Jun 20, 2023 06:3912,057423,773,444392,882,0004,998,0002,318,336
12Jun 20, 2023 06:3912,077420,887,737393,537,0004,994,0002,486,272