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 1, 2026 04:39Victor MerckléVictor MerckléScore: 4,329Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 04:394,156124,704,491341,532,0003,077,0002,539,520stderr
2Sep 1, 2026 04:394,175125,268,476342,548,0003,094,0002,510,848stderr
3Sep 1, 2026 04:394,316129,509,210352,597,0003,112,0002,527,232stderr
4Sep 1, 2026 04:394,327129,834,385354,345,0004,083,0002,326,528stderr
5Sep 1, 2026 04:394,329129,881,478355,029,0004,115,0002,506,752stderr
6Sep 1, 2026 04:394,340130,204,681355,930,0004,068,0002,281,472stderr
7Sep 1, 2026 04:394,341130,258,211355,518,0003,110,0002,641,920stderr
8Sep 1, 2026 04:394,348130,442,550354,751,0004,109,0002,433,024stderr
9Sep 1, 2026 04:394,376131,305,959355,009,0004,156,0002,445,312stderr