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 listMay 1, 2026 18:04Victor MerckléVictor MerckléScore: 163,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 18:05162,9594,888,783,9854,836,856,00031,985,0002,330,624stderr
2May 1, 2026 18:05162,9974,889,917,3364,833,334,00036,979,0002,330,624stderr
3May 1, 2026 18:05163,2574,897,737,4344,844,178,00033,980,0002,330,624stderr
4May 1, 2026 18:05163,6414,909,247,5544,854,619,00033,983,0002,326,528stderr
5May 1, 2026 18:05163,8384,915,168,5894,857,389,00034,981,0002,330,624stderr
6May 1, 2026 18:05164,0014,920,039,7144,858,097,00037,977,0002,326,528stderr
7May 1, 2026 18:05164,0094,920,281,6404,864,446,00030,983,0002,326,528stderr
8May 1, 2026 18:05164,1414,924,231,1314,863,212,00033,980,0002,330,624stderr
9May 1, 2026 18:05164,6284,938,865,6884,882,559,00035,974,0002,330,624stderr