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 listMay 3, 2026 19:35TudyMTudyMScore: 132,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 19:37132,2503,967,501,9333,835,516,000115,690,0002,449,408
2May 3, 2026 19:37132,5443,976,331,3793,839,160,000119,411,0002,453,504
3May 3, 2026 19:37132,6063,978,205,1193,841,863,000118,284,0002,453,504
4May 3, 2026 19:37132,7043,981,134,7263,852,867,000114,300,0002,453,504
5May 3, 2026 19:37132,7243,981,746,1103,852,954,000113,870,0002,453,504
6May 3, 2026 19:37132,7813,983,430,4993,852,352,000114,066,0002,453,504
7May 3, 2026 19:37132,9343,988,042,6213,855,571,000114,547,0002,445,312
8May 3, 2026 19:37132,9543,988,649,3393,860,759,000113,712,0002,449,408
9May 3, 2026 19:37133,0143,990,435,1753,860,394,000113,369,0002,445,312