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 19, 2023 14:14matsuoka-601matsuoka-601Score: 11,207Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 14:149,931386,147,394327,729,75502,285,568
2Jun 19, 2023 14:1411,116437,028,898366,821,56802,273,280
3Jun 19, 2023 14:1411,136389,555,471363,497,0003,994,0002,490,368
4Jun 19, 2023 14:1411,200392,897,912364,598,0004,994,0002,355,200
5Jun 19, 2023 14:1411,202392,603,559364,686,0004,995,0002,330,624
6Jun 19, 2023 14:1411,203396,650,592365,714,0003,996,0002,301,952
7Jun 19, 2023 14:1411,207403,309,462364,838,0004,997,0002,482,176
8Jun 19, 2023 14:1411,221430,637,656370,304,33002,269,184
9Jun 19, 2023 14:1411,235396,123,580365,765,0004,996,0002,482,176
10Jun 19, 2023 14:1411,250395,719,841365,270,0005,988,0002,301,952
11Jun 19, 2023 14:1411,259400,625,925365,568,0005,992,0002,486,272
12Jun 19, 2023 14:1411,364402,335,221369,043,0005,984,0002,490,368