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 listApr 27, 2026 10:54Victor MerckléVictor MerckléScore: 165,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 10:55164,7564,942,691,7564,897,470,00022,988,0002,461,696stderr
2Apr 27, 2026 10:55165,0134,950,409,8334,911,286,00018,989,0002,330,624stderr
3Apr 27, 2026 10:55165,4584,963,752,0914,923,870,00018,987,0002,461,696stderr
4Apr 27, 2026 10:55165,6344,969,030,1084,930,509,00018,986,0002,465,792stderr
5Apr 27, 2026 10:55165,6424,969,269,9274,933,004,00016,989,0002,330,624stderr
6Apr 27, 2026 10:55166,0094,980,299,7474,936,559,00020,985,0002,330,624stderr
7Apr 27, 2026 10:55166,1144,983,441,3444,948,218,00014,991,0002,461,696stderr
8Apr 27, 2026 10:55166,1414,984,244,0194,943,332,00016,990,0002,551,808stderr
9Apr 27, 2026 10:55166,2914,988,743,7664,944,715,00020,986,0002,330,624stderr