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 listAug 15, 2026 19:46Victor MerckléVictor MerckléScore: 20,565Success
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 19:4720,085602,559,2421,777,005,0001,114,0002,715,648stderr
2Aug 15, 2026 19:4720,152604,566,4731,781,924,0002,103,0002,715,648stderr
3Aug 15, 2026 19:4720,161604,833,5101,778,051,0002,115,0002,719,744stderr
4Aug 15, 2026 19:4720,188605,660,7811,777,951,0003,081,0002,252,800stderr
5Aug 15, 2026 19:4720,565616,974,2171,814,302,0003,112,0002,695,168stderr
6Aug 15, 2026 19:4720,620618,608,9371,820,067,0003,229,0002,719,744stderr
7Aug 15, 2026 19:4720,654619,637,7831,825,598,0002,073,0002,482,176stderr
8Aug 15, 2026 19:4720,659619,772,0731,824,609,0002,059,0002,711,552stderr
9Aug 15, 2026 19:4720,710621,322,4851,827,729,0003,126,0002,486,272stderr