I would say definitely
a.com/?param=1
as the / after the hostname is IMHO proper notation, which happens to
be shortened by lazy people (and workaround later was provided by
server developers). Another reason why I would go for this one -
making urls canonical makes it clear, that you add trailing / after
the hostname, if it's not already there.
That's just my 0.02 :)