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 05:47matsuoka-601matsuoka-601Score: 11,621Success
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 05:4710,093398,150,811333,082,09402,244,608
2Jun 18, 2023 05:4711,536409,460,230371,687,0008,992,0002,293,760
3Jun 18, 2023 05:4711,557412,257,062372,385,0008,985,0002,363,392
4Jun 18, 2023 05:4711,579407,096,547372,131,0009,976,0002,379,776
5Jun 18, 2023 05:4711,594404,607,204373,617,0008,990,0002,469,888
6Jun 18, 2023 05:4711,596450,248,550382,665,95602,260,992
7Jun 18, 2023 05:4711,621408,137,553374,503,0008,988,0002,453,504
8Jun 18, 2023 05:4711,637412,684,180375,044,0008,977,0002,449,408
9Jun 18, 2023 05:4711,688414,296,096375,697,0009,991,0002,277,376
10Jun 18, 2023 05:4711,709410,187,772377,424,0008,986,0002,445,312
11Jun 18, 2023 05:4711,714415,352,935377,579,0008,989,0002,428,928
12Jun 18, 2023 05:4711,851460,180,299391,095,54202,244,608