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 27, 2026 12:28Victor MerckléVictor MerckléScore: 37,123Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 12:2936,7161,101,481,8783,047,513,00056,953,0002,732,032
2Apr 27, 2026 12:2936,9901,109,724,5383,049,986,00050,949,0002,977,792
3Apr 27, 2026 12:2937,0351,111,062,7363,054,065,00046,954,0002,945,024
4Apr 27, 2026 12:2937,0771,112,328,5953,052,583,00050,976,0002,785,280
5Apr 27, 2026 12:2937,1231,113,715,6833,053,904,00052,963,0002,527,232
6Apr 27, 2026 12:2937,1801,115,409,5673,051,185,00053,950,0002,756,608
7Apr 27, 2026 12:2937,3601,120,808,2663,091,702,00055,940,0002,568,192
8Apr 27, 2026 12:2937,5591,126,781,9643,093,197,00054,932,0002,584,576
9Apr 27, 2026 12:2937,7381,132,148,7753,064,144,00049,953,0002,629,632