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 10, 2024 20:50Vladimir TatVladimir TatScore: 471,662Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2024 20:50470,89615,574,274,35815,442,615,00096,941,0002,371,584
2Oct 10, 2024 20:50470,98015,586,878,97115,429,424,000112,922,0002,363,392
3Oct 10, 2024 20:50471,32715,590,238,48715,453,838,00099,947,0002,330,624
4Oct 10, 2024 20:50471,60015,596,318,42415,447,862,000114,939,0002,281,472
5Oct 10, 2024 20:50471,66215,602,696,95815,469,907,00094,950,0002,330,624
6Oct 10, 2024 20:50471,89715,617,087,42115,467,669,000104,929,0002,416,640
7Oct 10, 2024 20:50472,72615,639,121,05415,504,015,00095,944,0002,383,872
8Oct 10, 2024 20:50474,22115,696,451,83415,556,355,00092,942,0002,420,736
9Oct 10, 2024 20:50474,91615,705,036,28715,564,294,000107,939,0002,293,760