Weak and classical solutions of some nonlinear Volterra integrodifferential equations