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 listOct 3, 2024 22:14Joad NacerJoad NacerScore: 4,730Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 3, 2024 22:144,683184,280,445148,546,0005,981,0002,527,232
2Oct 3, 2024 22:144,687183,044,381150,690,0003,991,0002,523,136
3Oct 3, 2024 22:164,694175,444,904151,915,0002,998,0002,514,944
4Oct 3, 2024 22:144,698181,991,156152,034,0003,000,0002,461,696
5Oct 3, 2024 22:164,717185,215,100152,682,0002,993,0002,277,376
6Oct 3, 2024 22:164,725177,485,037150,924,0004,997,0002,404,352
7Oct 3, 2024 22:164,730178,238,411152,091,0004,002,0002,527,232
8Oct 3, 2024 22:164,744182,159,713151,571,0004,985,0002,523,136
9Oct 3, 2024 22:164,759179,326,000153,042,0004,001,0002,363,392
10Oct 3, 2024 22:144,768187,395,177155,329,0002,004,0002,457,600
11Oct 3, 2024 22:144,784179,479,198153,877,0003,996,0002,539,520
12Oct 3, 2024 22:145,849221,991,383189,029,0004,000,0002,420,736