As far as I'm concered, the sentence "No laughing and no talking is allowed in the classroom" sounds better because it is parallel.
That's called sentence parallelism. Example
Mary likes reading, hiking and swimming
You cannot say
Mary likes reading, hiking and to swim
Student or Learner