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 09:10Andrew EpsteinAndrew EpsteinScore: 124,902Success
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 09:17124,3873,731,633,5194,139,373,00042,434,0002,326,528stderr
2Oct 31, 2026 09:17124,4693,734,095,1894,140,210,00044,448,0002,211,840stderr
3Oct 31, 2026 09:17124,4893,734,688,8494,144,679,00040,437,0002,232,320stderr
4Oct 31, 2026 09:17124,8143,744,426,3804,153,343,00042,495,0002,232,320stderr
5Oct 31, 2026 09:17124,9023,747,069,9904,164,788,00043,938,0002,236,416stderr
6Oct 31, 2026 09:17125,1673,755,028,1634,160,905,00044,370,0002,117,632stderr
7Oct 31, 2026 09:17126,0173,780,539,3624,182,457,00045,582,0002,232,320stderr
8Oct 31, 2026 09:17128,4683,854,048,6614,267,872,00041,747,0002,117,632stderr
9Oct 31, 2026 09:17131,2713,938,136,3124,342,002,00046,180,0002,207,744stderr