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 22, 2023 15:50matsuoka-601matsuoka-601Score: 10,368Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2023 15:5010,226399,772,539337,445,50102,256,896
2Jun 22, 2023 15:5010,234393,862,326337,731,01902,252,800
3Jun 22, 2023 15:5010,247366,331,946332,155,0005,984,0002,457,600
4Jun 22, 2023 15:5010,284369,160,539334,377,0004,990,0002,486,272
5Jun 22, 2023 15:5010,361367,789,017336,901,0004,998,0002,453,504
6Jun 22, 2023 15:5010,363403,979,152341,968,35602,248,704
7Jun 22, 2023 15:5010,368369,155,868336,170,0005,985,0002,465,792
8Jun 22, 2023 15:5010,373365,835,698337,313,0004,989,0002,277,376
9Jun 22, 2023 15:5010,384369,520,248337,678,0004,995,0002,310,144
10Jun 22, 2023 15:5010,400370,015,157337,204,0005,985,0002,502,656
11Jun 22, 2023 15:5010,446368,358,879338,730,0005,995,0002,457,600
12Jun 22, 2023 15:5010,574374,265,635344,937,0003,999,0002,461,696