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 16, 2024 15:38matsuoka-601matsuoka-601Score: 6,827Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 15:386,791296,366,057224,100,84202,297,856
2Jun 16, 2024 15:386,812246,390,966204,818,00019,982,0002,404,352
3Jun 16, 2024 15:386,813252,050,366202,849,00021,983,0002,375,680
4Jun 16, 2024 15:386,816284,527,029224,934,30502,306,048
5Jun 16, 2024 15:386,824247,739,703201,180,00024,021,0002,379,776
6Jun 16, 2024 15:386,825253,622,717206,197,00019,018,0002,482,176
7Jun 16, 2024 15:386,827292,573,947225,276,74602,301,952
8Jun 16, 2024 15:386,831255,384,428206,378,00019,034,0002,330,624
9Jun 16, 2024 15:386,851255,845,695203,071,00023,008,0002,400,256
10Jun 16, 2024 15:386,851247,351,640205,084,00021,008,0002,383,872
11Jun 16, 2024 15:386,870250,404,390205,736,00020,973,0002,506,752
12Jun 16, 2024 15:386,887252,416,491211,242,00016,018,0002,396,160