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 11, 2024 21:23Joad NacerJoad NacerScore: 8,769Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2024 21:238,373298,455,892218,464,00057,858,0002,392,064
2Jun 11, 2024 21:238,647313,351,058228,483,00056,871,0002,371,584
3Jun 11, 2024 21:238,676312,164,817227,438,00058,854,0002,428,928
4Jun 11, 2024 21:238,721354,428,641287,795,89702,236,416
5Jun 11, 2024 21:238,722312,862,397231,862,00055,966,0002,469,888
6Jun 11, 2024 21:238,732313,409,536230,112,00058,028,0002,424,832
7Jun 11, 2024 21:238,769368,876,231289,385,23102,236,416
8Jun 11, 2024 21:238,774351,076,054289,527,66502,240,512
9Jun 11, 2024 21:238,791312,596,152235,089,00055,021,0002,269,184
10Jun 11, 2024 21:238,792319,821,430232,101,00058,025,0002,342,912
11Jun 11, 2024 21:238,879313,874,590235,017,00058,004,0002,510,848
12Jun 11, 2024 21:239,013320,595,631239,538,00057,888,0002,433,024