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 12, 2023 10:50matsuoka-601matsuoka-601Score: 16,762Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2023 10:5016,645573,158,101536,295,00012,982,0002,457,600
2Jun 12, 2023 10:5016,697575,117,917533,029,00017,967,0002,359,296
3Jun 12, 2023 10:5016,703574,092,615534,228,00016,975,0002,461,696
4Jun 12, 2023 10:5016,740575,638,302539,427,00012,986,0002,465,792
5Jun 12, 2023 10:5016,742578,089,031535,517,00016,984,0002,473,984
6Jun 12, 2023 10:5016,758580,392,500539,030,00013,974,0002,441,216
7Jun 12, 2023 10:5016,762578,741,545538,177,00014,977,0002,387,968
8Jun 12, 2023 10:5016,775609,325,403553,561,68602,269,184
9Jun 12, 2023 10:5016,787582,393,108538,012,00015,970,0002,465,792
10Jun 12, 2023 10:5016,829579,589,754539,383,00015,981,0002,457,600
11Jun 12, 2023 10:5016,856631,673,596556,264,43302,269,184
12Jun 12, 2023 10:5017,031647,483,837562,007,12102,260,992