Back to School 1
CodeChefOpen on judge ↗
Consider a string of the form A * B * C = D where A, B, C, D are integers and * could be “+” or “-” (without quotes). You have to figure out whether the equation is valid or not. ### Input:- The first line contains T test cases.Each test case will contain a string comprised of characters belonging to the set {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, +, -, =} only and no white spaces. The string will be stri
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start