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 listDec 17, 2022 22:57Franek KortaFranek KortaScore: 16,422Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2022 22:5716,380567,141,283522,549,00017,984,0002,306,048
2Dec 17, 2022 22:5716,382564,414,233522,627,00017,987,0002,359,296
3Dec 17, 2022 22:5716,390568,542,735523,874,00016,995,0002,359,296
4Dec 17, 2022 22:5716,395568,579,518524,045,00017,001,0002,351,104
5Dec 17, 2022 22:5716,413562,337,608521,659,00019,986,0002,367,488
6Dec 17, 2022 22:5716,416561,797,762523,734,00017,990,0002,359,296
7Dec 17, 2022 22:5716,422570,106,471527,918,00013,997,0002,486,272
8Dec 17, 2022 22:5716,440564,884,710526,550,00015,986,0002,355,200
9Dec 17, 2022 22:5716,452568,869,976522,961,00019,960,0002,281,472
10Dec 17, 2022 22:5717,236630,171,446568,775,70302,273,280
11Dec 17, 2022 22:5717,273624,770,129569,993,06702,285,568
12Dec 17, 2022 22:5717,338641,155,168572,154,86802,273,280