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 listJul 7, 2026 21:55Victor MerckléVictor MerckléScore: 3,025Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:592,94088,204,232231,477,0004,434,0002,732,032stderr
2Jul 7, 2026 21:592,99389,807,946232,883,0004,316,0002,732,032stderr
3Jul 7, 2026 21:592,99989,986,700231,033,0004,288,0002,732,032stderr
4Jul 7, 2026 21:593,00990,279,366234,057,0004,259,0002,732,032stderr
5Jul 7, 2026 21:593,02590,763,128233,605,0004,237,0002,732,032stderr
6Jul 7, 2026 21:593,04191,250,567233,311,0003,341,0002,768,896stderr
7Jul 7, 2026 21:593,07892,365,806233,175,0004,294,0002,486,272stderr
8Jul 7, 2026 21:593,10393,110,603233,918,0004,366,0002,736,128stderr
9Jul 7, 2026 21:593,10393,098,089234,418,0004,357,0002,727,936stderr