Skip to content
C

Count Full-Line Comments

Easyjava

Count how many of the given lines are full-line single-line comments — that is, the first non-whitespace characters on the line are //.

Input: the first line is an integer N; then N lines of text.

Output: one line — the number of full-line // comments.

Input (stdin)

Output

Run your code to see output here...