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 listJun 26, 2026 15:58Shikhar SoniShikhar SoniScore: 50,392Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 26, 2026 15:5950,2451,507,369,6311,307,427,000189,837,0002,117,632
2Jun 26, 2026 15:5950,3281,509,852,1251,310,204,000189,577,0002,117,632
3Jun 26, 2026 15:5950,3631,510,919,7121,311,129,000189,668,0002,117,632
4Jun 26, 2026 15:5950,3901,511,722,6571,310,605,000190,930,0002,113,536
5Jun 26, 2026 15:5950,3921,511,782,9751,308,099,000193,439,0002,117,632
6Jun 26, 2026 15:5950,4661,513,986,6851,311,958,000191,726,0002,117,632
7Jun 26, 2026 15:5950,4711,514,155,7451,312,367,000191,663,0002,117,632
8Jun 26, 2026 15:5950,5001,515,005,3041,310,830,000194,010,0002,117,632
9Jun 26, 2026 15:5950,5611,516,856,7731,311,099,000195,588,0002,117,632