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:27Andrew EpsteinAndrew EpsteinScore: 124,833Success
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:33124,3633,730,911,1024,155,561,00043,001,0002,314,240stderr
2Oct 31, 2026 09:33124,3923,731,764,0274,149,394,00045,428,0002,236,416stderr
3Oct 31, 2026 09:33124,6023,738,073,1014,151,392,00045,651,0002,322,432stderr
4Oct 31, 2026 09:33124,7773,743,339,3604,162,971,00044,103,0002,314,240stderr
5Oct 31, 2026 09:33124,8333,745,003,5794,165,681,00043,087,0002,314,240stderr
6Oct 31, 2026 09:33124,8883,746,645,6464,163,082,00045,430,0002,117,632stderr
7Oct 31, 2026 09:33127,9313,837,943,4424,262,652,00041,304,0002,232,320stderr
8Oct 31, 2026 09:33131,5423,946,267,4724,361,760,00047,391,0002,207,744stderr
9Oct 31, 2026 09:33131,6333,948,996,9674,363,867,00045,354,0002,322,432stderr