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 listJun 21, 2026 23:49A_ShamanA_ShamanScore: 562,932Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2026 23:53557,45416,723,645,7132,803,609,0002,966,420,0002,117,632
2Jun 21, 2026 23:53559,46416,783,934,2732,812,540,0002,960,318,0002,117,632
3Jun 21, 2026 23:53561,24716,837,430,4852,808,711,0002,947,874,0002,117,632
4Jun 21, 2026 23:53562,57416,877,229,5762,805,680,0002,960,356,0002,117,632
5Jun 21, 2026 23:53562,93216,887,964,4742,810,210,0003,021,384,0002,121,728
6Jun 21, 2026 23:53563,76716,913,023,9752,814,680,0002,959,335,0002,117,632
7Jun 21, 2026 23:53564,58816,937,656,1672,805,988,0002,954,758,0002,138,112
8Jun 21, 2026 23:53581,20517,436,164,8402,813,533,0002,959,458,0002,117,632
9Jun 21, 2026 23:53582,08917,462,670,8862,810,658,0002,963,489,0002,117,632