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 listJan 12, 2026 00:58Josu San MartinJosu San MartinScore: 3,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2026 16:152,82884,848,053175,719,0002,008,0002,584,576
2Jan 11, 2026 16:152,96588,943,599175,615,0001,003,0002,572,288
3Jan 12, 2026 00:582,99089,692,949175,620,0002,007,0002,822,144
4Jan 12, 2026 00:583,01390,384,720176,522,0002,005,0002,875,392
5Jan 12, 2026 00:583,10693,182,591176,026,0002,011,0002,617,344
6Jan 11, 2026 16:153,409102,270,650174,948,0002,010,0002,490,368