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 27, 2026 12:09Victor MerckléVictor MerckléScore: 161,526Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 12:11161,0764,832,291,6954,776,418,00037,979,0002,330,624stderr
2Apr 27, 2026 12:11161,3084,839,269,6054,784,073,00034,978,0002,334,720stderr
3Apr 27, 2026 12:11161,3594,840,786,6514,782,554,00035,981,0002,330,624stderr
4Apr 27, 2026 12:11161,4074,842,219,5904,787,879,00032,978,0002,351,104stderr
5Apr 27, 2026 12:11161,5264,845,790,7064,792,934,00035,976,0002,330,624stderr
6Apr 27, 2026 12:11161,6694,850,083,0734,796,851,00033,977,0002,330,624stderr
7Apr 27, 2026 12:11161,8584,855,759,4774,796,232,00032,980,0002,330,624stderr
8Apr 27, 2026 12:11162,0184,860,566,2334,801,903,00036,976,0002,351,104stderr
9Apr 27, 2026 12:11162,4574,873,733,7494,812,820,00035,976,0002,355,200stderr