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 listOct 3, 2024 11:14Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 3, 2024 11:1200000Error: No answer to stdout. Died or killed?stderr
2Oct 3, 2024 11:124,822180,608,465145,129,00014,012,0002,469,888
3Oct 3, 2024 11:144,898191,224,873143,663,00017,957,0002,371,584
4Oct 3, 2024 11:144,932184,457,332148,791,00013,980,0002,457,600
5Oct 3, 2024 11:124,933188,819,220149,820,00012,984,0002,469,888
6Oct 3, 2024 11:145,204199,076,700156,741,00014,975,0002,473,984
7Oct 3, 2024 11:145,213199,161,591159,028,00013,002,0002,469,888
8Oct 3, 2024 11:145,226198,737,561155,518,00016,947,0002,326,528
9Oct 3, 2024 11:145,226198,311,191161,500,00010,966,0002,461,696
10Oct 3, 2024 11:125,228204,639,442158,548,00013,960,0002,289,664