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 listOct 31, 2026 01:58Andrew EpsteinAndrew EpsteinScore: 340,472Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 02:00336,43710,093,116,01010,452,050,00028,196,0002,306,048stderr
2Oct 31, 2026 02:00336,47110,094,159,12910,445,371,00029,643,0002,203,648stderr
3Oct 31, 2026 02:00339,43510,183,061,61810,533,844,00029,681,0002,306,048stderr
4Oct 31, 2026 02:00339,92610,197,782,25010,551,524,00030,011,0002,220,032stderr
5Oct 31, 2026 02:00340,47210,214,161,14710,566,868,00030,647,0002,220,032stderr
6Oct 31, 2026 02:00340,61410,218,443,91610,606,618,00029,741,0002,224,128stderr
7Oct 31, 2026 02:00340,81410,224,447,13510,574,919,00030,866,0002,121,728stderr
8Oct 31, 2026 02:00341,19110,235,736,94510,598,023,00030,152,0002,220,032stderr
9Oct 31, 2026 02:00342,38110,271,450,98310,617,972,00031,823,0002,207,744stderr