Problem Description

Read lines KEY=VALUE. Count how many lines are invalid (missing '=', empty key). Print error count.

Input Format

Multiple lines.

Output Format

One integer errors.

Sample Test Case

Input:
PORT=3000 =bad NAME=app nope
Output:
2

Constraints

Total text

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next