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 17, 2026 17:41Charles CabergsCharles CabergsScore: 107,931Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2026 17:41106,9693,209,055,1442,878,754,000292,771,0002,670,592
2Apr 17, 2026 17:41106,9933,209,794,8532,864,871,000309,446,0002,715,648
3Apr 17, 2026 17:41107,7233,231,697,3932,867,593,000326,612,0002,813,952
4Apr 17, 2026 17:41107,7523,232,550,9702,882,419,000313,936,0002,715,648
5Apr 17, 2026 17:41107,9313,237,928,4492,867,818,000332,515,0002,715,648
6Apr 17, 2026 17:41109,2143,276,416,7762,910,384,000325,483,0002,678,784
7Apr 17, 2026 17:41109,2743,278,213,0512,935,194,000307,705,0002,596,864
8Apr 17, 2026 17:41110,4063,312,183,7182,968,164,000307,602,0002,711,552
9Apr 17, 2026 17:41110,6153,318,457,8092,959,569,000315,847,0002,592,768