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 13, 2024 14:19Vladimir TatVladimir TatScore: 77,014Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 13, 2024 14:1976,8042,562,203,2382,374,687,000159,844,0002,281,472
2Oct 13, 2024 14:1976,8502,562,540,2152,388,166,000147,886,0002,281,472
3Oct 13, 2024 14:1976,8612,567,461,0722,387,563,000148,848,0002,359,296
4Oct 13, 2024 14:1976,9582,566,824,8332,384,774,000154,855,0002,347,008
5Oct 13, 2024 14:1977,0142,568,583,7742,374,639,000166,834,0002,334,720
6Oct 13, 2024 14:1977,0192,570,699,3932,388,778,000152,857,0002,322,432
7Oct 13, 2024 14:1977,0522,567,587,2702,383,844,000158,856,0002,281,472
8Oct 13, 2024 14:1977,2172,577,680,2502,381,343,000166,813,0002,326,528
9Oct 13, 2024 14:1977,3632,577,891,5892,394,116,000158,874,0002,281,472