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 listJan 16, 2025 06:05Ian MckibbenIan MckibbenScore: 519,034Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 16, 2025 06:05516,28415,488,516,52715,339,836,000109,927,0002,736,128
2Jan 16, 2025 06:05516,68215,500,458,06215,375,937,00091,945,0002,600,960
3Jan 16, 2025 06:05517,18115,515,417,27515,373,908,000106,936,0002,686,976
4Jan 16, 2025 06:05517,58115,527,430,48915,383,052,000106,930,0002,551,808
5Jan 16, 2025 06:05519,03415,571,024,98315,436,621,000100,938,0002,744,320
6Jan 16, 2025 06:05521,80615,654,166,63815,514,185,000102,941,0002,580,480
7Jan 16, 2025 06:05522,10315,663,079,60115,527,005,000102,940,0002,588,672
8Jan 16, 2025 06:05526,58715,797,620,11115,666,670,00096,942,0002,572,288
9Jan 16, 2025 06:05541,73916,252,173,03116,104,623,000107,930,0002,654,208