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 21, 2026 21:10BenBenScore: 36,140Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 21:1234,0261,020,800,9092,706,944,00095,927,0002,633,728
2Apr 21, 2026 21:1235,7031,071,099,3912,719,384,00083,980,0002,768,896
3Apr 21, 2026 21:1235,7701,073,125,0062,699,610,00094,915,0002,748,416
4Apr 21, 2026 21:1235,8991,076,995,2882,707,348,00089,878,0002,453,504
5Apr 21, 2026 21:1236,1401,084,221,4752,727,150,00085,941,0002,875,392
6Apr 21, 2026 21:1236,1731,085,191,2112,719,295,00090,876,0002,682,880
7Apr 21, 2026 21:1236,1931,085,797,0032,698,538,00092,018,0002,805,760
8Apr 21, 2026 21:1236,2331,087,012,4832,734,722,00089,023,0002,818,048
9Apr 21, 2026 21:1236,2581,087,748,7702,735,579,00081,927,0002,617,344