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 16, 2024 00:23Joad NacerJoad NacerScore: 5,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 00:234,761229,727,777157,125,14902,224,128
2Jun 16, 2024 00:234,764215,595,627157,209,62802,215,936
3Jun 16, 2024 00:234,829219,438,183159,345,44802,363,392
4Jun 16, 2024 00:235,409207,519,053154,570,00023,933,0002,396,160
5Jun 16, 2024 00:235,416199,271,077155,763,00022,965,0002,371,584
6Jun 16, 2024 00:235,434210,468,310158,291,00021,038,0002,400,256
7Jun 16, 2024 00:235,450207,789,330156,859,00022,979,0002,400,256
8Jun 16, 2024 00:235,463210,160,376160,250,00020,031,0002,400,256
9Jun 16, 2024 00:235,491203,030,467159,167,00022,023,0002,387,968
10Jun 16, 2024 00:235,636210,799,052164,004,00022,000,0002,351,104
11Jun 16, 2024 00:235,685216,133,116162,648,00024,946,0002,359,296
12Jun 16, 2024 00:235,693214,898,943162,884,00024,982,0002,396,160