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 listAug 31, 2026 14:42Victor MerckléVictor MerckléScore: 98,026Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2026 14:4497,7092,931,276,7302,861,982,00057,948,0002,154,496stderr
2Aug 31, 2026 14:4497,7632,932,911,7552,862,667,00058,250,0002,142,208stderr
3Aug 31, 2026 14:4497,8662,935,996,6712,867,068,00057,802,0002,142,208stderr
4Aug 31, 2026 14:4497,8822,936,473,4562,865,615,00058,920,0002,142,208stderr
5Aug 31, 2026 14:4498,0262,940,790,2252,871,241,00058,340,0002,142,208stderr
6Aug 31, 2026 14:4498,1052,943,161,0212,873,471,00058,286,0002,154,496stderr
7Aug 31, 2026 14:4498,7652,962,957,2962,893,687,00058,112,0002,154,496stderr
8Aug 31, 2026 14:4498,8732,966,191,9942,895,262,00059,450,0002,142,208stderr
9Aug 31, 2026 14:44100,4993,014,971,5172,935,303,00057,647,0002,142,208stderr