If you're climbing big routes that'll take you 16 hours, or, like, El Capitan, you have to take something like a big, robust sandwich. Climbing isn't like running or triathlons, where you have to constantly be eating blocks, gels, and pure sugar. Climbing is relatively slow, so you can pretty much eat anything and digest it as you climb.
Alex Honnold