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 listSep 12, 2026 06:37Haha ExpertHaha ExpertScore: 43,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 12, 2026 06:3843,3691,301,096,5101,156,979,000132,497,0002,117,632
2Sep 12, 2026 06:3843,4131,302,394,7501,154,995,000135,741,0002,121,728
3Sep 12, 2026 06:3843,4191,302,585,3001,155,900,000135,165,0002,121,728
4Sep 12, 2026 06:3843,4631,303,897,8061,158,171,000134,078,0002,117,632
5Sep 12, 2026 06:3843,6241,308,749,0301,165,035,000132,179,0002,117,632
6Sep 12, 2026 06:3843,7231,311,719,8601,169,297,000130,880,0002,117,632
7Sep 12, 2026 06:3843,8861,316,606,9191,174,945,000129,876,0002,121,728
8Sep 12, 2026 06:3843,9201,317,624,1461,170,435,000135,055,0002,121,728
9Sep 12, 2026 06:3844,0631,321,898,3941,176,001,000133,937,0002,121,728