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 listAug 8, 2023 13:39matsuoka-601matsuoka-601Score: 10,060Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2023 13:399,640393,607,964318,120,95602,187,264
2Aug 8, 2023 13:399,665399,294,881318,935,62402,187,264
3Aug 8, 2023 13:399,673453,391,281319,214,32602,260,992
4Aug 8, 2023 13:3910,038356,675,898317,241,00014,010,0002,392,064
5Aug 8, 2023 13:3910,048358,475,229318,585,00012,983,0002,383,872
6Aug 8, 2023 13:3910,050356,882,212318,675,00012,986,0002,506,752
7Aug 8, 2023 13:3910,060355,062,889316,990,00014,999,0002,355,200
8Aug 8, 2023 13:3910,062354,189,690319,058,00013,002,0002,387,968
9Aug 8, 2023 13:3910,078361,441,548319,580,00012,982,0002,367,488
10Aug 8, 2023 13:3910,081354,900,010319,699,00012,987,0002,387,968
11Aug 8, 2023 13:3910,082359,131,874315,728,00016,985,0002,285,568
12Aug 8, 2023 13:3910,088366,533,715316,917,00015,995,0002,437,120