Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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 listSep 9, 2026 01:35Andrew EpsteinAndrew EpsteinScore: 24,411Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 01:3624,321729,633,9671,308,902,00093,825,0002,150,400stderr
2Sep 9, 2026 01:3624,362730,866,1701,319,817,00095,118,0002,400,256stderr
3Sep 9, 2026 01:3624,383731,505,9341,319,937,00095,950,0002,310,144stderr
4Sep 9, 2026 01:3624,390731,702,7731,324,190,00097,574,0002,465,792stderr
5Sep 9, 2026 01:3624,411732,352,7301,312,378,00095,396,0002,273,280stderr
6Sep 9, 2026 01:3624,454733,649,0911,311,351,00098,393,0002,514,944stderr
7Sep 9, 2026 01:3624,468734,046,3651,317,554,00095,565,0002,281,472stderr
8Sep 9, 2026 01:3624,505735,179,2511,315,507,00094,927,0002,310,144stderr
9Sep 9, 2026 01:3624,538736,156,4201,330,596,00093,647,0002,297,856stderr