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 16, 2024 00:12Joad NacerJoad NacerScore: 5,437Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 00:124,753217,663,064156,835,85802,228,224
2Jun 16, 2024 00:124,953225,056,292163,458,44502,363,392
3Jun 16, 2024 00:125,353208,685,667150,698,00025,948,0002,367,488
4Jun 16, 2024 00:125,378200,496,258153,557,00023,930,0002,400,256
5Jun 16, 2024 00:125,380203,302,333150,604,00026,929,0002,396,160
6Jun 16, 2024 00:125,396209,039,700155,062,00023,009,0002,404,352
7Jun 16, 2024 00:125,437206,365,787155,492,00023,921,0002,396,160
8Jun 16, 2024 00:125,437206,642,280154,512,00024,921,0002,367,488
9Jun 16, 2024 00:125,461211,440,688155,187,00025,030,0002,400,256
10Jun 16, 2024 00:125,654210,737,467163,621,00022,946,0002,396,160
11Jun 16, 2024 00:125,869260,520,864193,664,11702,363,392
12Jun 16, 2024 00:126,078225,370,924173,620,00026,941,0002,482,176