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:46Haha ExpertHaha ExpertScore: 42,782Success
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:4742,5921,277,783,4731,130,404,000135,853,0002,121,728
2Sep 12, 2026 06:4742,6981,280,960,0251,133,183,000136,128,0002,117,632
3Sep 12, 2026 06:4742,7281,281,868,1101,136,539,000133,782,0002,121,728
4Sep 12, 2026 06:4742,7421,282,263,0141,134,091,000136,450,0002,121,728
5Sep 12, 2026 06:4742,7821,283,478,9541,137,313,000134,483,0002,117,632
6Sep 12, 2026 06:4742,9621,288,871,6391,142,668,000134,697,0002,117,632
7Sep 12, 2026 06:4743,0371,291,122,6141,147,042,000132,540,0002,117,632
8Sep 12, 2026 06:4743,2381,297,159,0631,142,284,000137,918,0002,121,728
9Sep 12, 2026 06:4743,6101,308,301,5401,162,481,000134,381,0002,121,728