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 listMay 28, 2024 15:29Joad NacerJoad NacerScore: 8,504Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 15:298,126340,052,619268,164,71902,232,320
2May 28, 2024 15:298,194320,424,079270,412,50702,228,224
3May 28, 2024 15:298,284331,952,498273,386,32102,224,128
4May 28, 2024 15:298,401305,622,600221,186,00056,047,0002,433,024
5May 28, 2024 15:298,477302,882,568224,791,00054,949,0002,273,280
6May 28, 2024 15:298,498309,776,246224,535,00055,884,0002,490,368
7May 28, 2024 15:298,504302,590,989225,708,00054,929,0002,445,312
8May 28, 2024 15:298,564312,920,194223,692,00058,918,0002,523,136
9May 28, 2024 15:298,565306,874,589223,727,00058,928,0002,363,392
10May 28, 2024 15:298,570309,897,050223,849,00058,960,0002,428,928
11May 28, 2024 15:298,606307,210,402226,008,00058,002,0002,469,888
12May 28, 2024 15:298,683309,975,126226,644,00059,906,0002,428,928