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 30, 2024 13:50Robert BurkeRobert BurkeScore: 9,366Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:508,925351,532,638294,512,21002,277,376
2Jun 30, 2024 13:508,957347,692,785295,575,59202,256,896
3Jun 30, 2024 13:508,968357,314,798295,957,75302,277,376
4Jun 30, 2024 13:509,174323,877,931298,735,0003,996,0002,363,392
5Jun 30, 2024 13:509,214326,192,518298,076,0006,001,0002,498,560
6Jun 30, 2024 13:509,286328,558,223299,450,0006,987,0002,392,064
7Jun 30, 2024 13:509,366336,619,651303,083,0006,001,0002,367,488
8Jun 30, 2024 13:509,367338,219,776306,116,0003,001,0002,465,792
9Jun 30, 2024 13:509,418329,439,212304,793,0005,995,0002,416,640
10Jun 30, 2024 13:509,463339,889,298307,305,0004,988,0002,445,312
11Jun 30, 2024 13:509,480337,321,141305,847,0006,996,0002,363,392
12Jun 30, 2024 13:509,537341,783,565310,716,0003,996,0002,342,912