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 18, 2023 06:05matsuoka-601matsuoka-601Score: 12,692Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 06:0510,342410,940,648341,277,35502,256,896
2Jun 18, 2023 06:0511,919448,508,644393,342,94502,252,800
3Jun 18, 2023 06:0512,029448,919,773396,950,16702,244,608
4Jun 18, 2023 06:0512,616444,973,118407,315,0009,006,0002,306,048
5Jun 18, 2023 06:0512,658446,067,000408,728,0008,994,0002,510,848
6Jun 18, 2023 06:0512,663444,857,887408,871,0008,997,0002,285,568
7Jun 18, 2023 06:0512,692445,477,658409,837,0008,996,0002,523,136
8Jun 18, 2023 06:0512,713445,975,393410,546,0008,990,0002,371,584
9Jun 18, 2023 06:0512,729447,420,659410,068,0009,977,0002,318,336
10Jun 18, 2023 06:0512,729454,147,744411,077,0008,979,0002,363,392
11Jun 18, 2023 06:0512,761457,731,611411,129,0009,978,0002,277,376
12Jun 18, 2023 06:0512,848453,007,985414,993,0008,999,0002,457,600