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 listAug 15, 2026 13:13Tomislav TunkovicTomislav TunkovicError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2026 13:140179,342,252164,049,0004,189,00024,576expected "1024468 ", got "1024467 "
2Aug 15, 2026 13:145,028174,253,571161,801,0004,131,00024,576
3Aug 15, 2026 13:145,050175,088,914162,497,0004,166,00024,576
4Aug 15, 2026 13:145,052174,938,283162,505,0004,215,00024,576
5Aug 15, 2026 13:145,058175,257,080162,734,0004,205,00024,576
6Aug 15, 2026 13:145,067175,643,982163,085,0004,156,00024,576
7Aug 15, 2026 13:145,074175,755,505163,304,0004,161,00024,576
8Aug 15, 2026 13:145,081176,062,934163,497,0004,194,00024,576
9Aug 15, 2026 13:145,082177,300,405163,565,0004,163,00024,576