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 16:45Shikhar SoniShikhar SoniScore: 48,072Success
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 16:4747,9481,438,442,7471,250,210,000177,433,0002,117,632
2Jun 26, 2026 16:4748,0061,440,207,3091,256,527,000173,317,0002,117,632
3Jun 26, 2026 16:4748,0281,440,852,8281,251,791,000179,017,0002,117,632
4Jun 26, 2026 16:4748,0561,441,698,5031,249,865,000181,552,0002,117,632
5Jun 26, 2026 16:4748,0721,442,162,4291,252,068,000179,936,0002,117,632
6Jun 26, 2026 16:4748,1311,443,954,7671,251,770,000181,986,0002,117,632
7Jun 26, 2026 16:4748,1331,444,012,2561,247,702,000186,280,0002,117,632
8Jun 26, 2026 16:4748,2111,446,333,5581,250,771,000185,526,0002,117,632
9Jun 26, 2026 16:4748,2221,446,685,0001,253,502,000182,751,0002,117,632