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 listApr 29, 2024 02:57Yuriy LyfenkoYuriy LyfenkoScore: 11,477Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2024 02:5711,287430,725,774372,486,00002,265,088
2Apr 29, 2024 02:5711,300445,931,771372,909,44902,265,088
3Apr 29, 2024 02:5711,302432,106,628372,977,51902,277,376
4Apr 29, 2024 02:5711,427403,351,872368,080,0009,001,0002,330,624
5Apr 29, 2024 02:5711,433401,750,048372,275,0005,003,0002,359,296
6Apr 29, 2024 02:5711,433403,197,447368,296,0009,007,0002,351,104
7Apr 29, 2024 02:5711,477404,696,151367,756,00010,992,0002,351,104
8Apr 29, 2024 02:5711,482409,494,752371,905,0006,998,0002,469,888
9Apr 29, 2024 02:5711,497407,762,855371,408,0008,008,0002,437,120
10Apr 29, 2024 02:5711,561412,822,148373,516,0007,989,0002,473,984
11Apr 29, 2024 02:5711,991419,166,356386,706,0008,993,0002,363,392
12Apr 29, 2024 02:5712,049424,127,861391,618,0005,994,0002,514,944