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 listNov 11, 2024 06:57E SequeiraE SequeiraScore: 124,248Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 06:57123,6333,708,984,4013,668,056,00010,991,0002,699,264
2Nov 11, 2024 06:57123,6823,710,466,4113,664,604,00011,992,0002,707,456
3Nov 11, 2024 06:57123,6933,710,776,0143,672,445,00013,990,0002,543,616
4Nov 11, 2024 06:57124,2003,726,000,3953,679,695,00013,991,0002,543,616
5Nov 11, 2024 06:57124,2483,727,442,7293,686,411,00011,991,0002,760,704
6Nov 11, 2024 06:57124,3733,731,192,8793,686,104,00015,987,0002,543,616
7Nov 11, 2024 06:57124,4443,733,319,3683,687,336,00012,990,0002,682,880
8Nov 11, 2024 06:57125,9023,777,060,4953,734,090,00012,989,0002,543,616
9Nov 11, 2024 06:57127,4933,824,780,7123,775,263,00012,990,0002,707,456