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 08:39Victor MerckléVictor MerckléScore: 491,177Success
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 08:42488,15614,644,706,30814,447,543,000169,900,0002,310,144stderr
2Apr 27, 2026 08:42488,32914,649,887,02714,445,101,000176,903,0002,453,504stderr
3Apr 27, 2026 08:42489,48814,684,668,39314,492,256,000164,900,0002,383,872stderr
4Apr 27, 2026 08:42490,33614,710,105,35214,510,985,000168,906,0002,301,952stderr
5Apr 27, 2026 08:42491,17714,735,324,18714,551,388,000156,907,0002,506,752stderr
6Apr 27, 2026 08:42493,13214,793,986,81114,601,757,000169,904,0002,334,720stderr
7Apr 27, 2026 08:42494,19414,825,845,11214,632,634,000162,906,0002,347,008stderr
8Apr 27, 2026 08:42496,06914,882,079,04614,676,180,000177,893,0002,473,984stderr
9Apr 27, 2026 08:42503,76715,113,027,95314,914,280,000169,900,0002,367,488stderr