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 listApr 25, 2026 21:09Charles CabergsCharles CabergsScore: 15,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2026 21:1015,437463,130,0921,317,139,00012,991,0002,945,024
2Apr 25, 2026 21:1015,476464,301,8131,316,346,00016,991,0002,973,696
3Apr 25, 2026 21:1015,506465,181,2791,322,980,00014,988,0002,846,720
4Apr 25, 2026 21:1015,583467,505,0101,315,038,00014,989,0002,777,088
5Apr 25, 2026 21:1015,585467,578,9011,317,216,00015,990,0002,953,216
6Apr 25, 2026 21:1015,613468,396,7311,322,453,00017,965,0002,744,320
7Apr 25, 2026 21:1015,634469,038,0541,322,834,00013,987,0002,949,120
8Apr 25, 2026 21:1015,639469,195,0571,317,853,00017,984,0002,658,304
9Apr 25, 2026 21:1015,846475,404,3841,350,887,00016,973,0002,650,112