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 05:48Andrew EpsteinAndrew EpsteinScore: 124,676Success
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 05:52124,1163,723,483,5434,143,503,00044,881,0002,121,728stderr
2Oct 31, 2026 05:52124,3173,729,527,2884,151,663,00045,085,0002,232,320stderr
3Oct 31, 2026 05:52124,3363,730,095,7144,149,490,00046,204,0002,318,336stderr
4Oct 31, 2026 05:52124,4873,734,631,4054,152,953,00045,782,0002,207,744stderr
5Oct 31, 2026 05:52124,6763,740,283,6424,161,854,00044,377,0002,207,744stderr
6Oct 31, 2026 05:52124,6903,740,720,8954,167,657,00044,036,0002,117,632stderr
7Oct 31, 2026 05:52124,7193,741,573,8674,164,694,00045,530,0002,232,320stderr
8Oct 31, 2026 05:52124,8323,744,960,3574,158,853,00045,897,0002,117,632stderr
9Oct 31, 2026 05:52125,4693,764,075,2554,188,815,00040,339,0002,207,744stderr