Theodore is writing code! He wants to count how many lines of code he has, but doesn't know how to.
Can you help him count?
Input Specification
An unknown number of lines of code.
Output specification
The number of lines of code that Theodore has written.
Sample Input
uint64_t
getArgID(char const * target_arg)
{
if (strlen(target_arg) == 2) if (target_arg[0] == '-')
switch (target_arg[1])
{
case 'i': return ARG_IN;
case 'o': return ARG_OUT;
case 't': return ARG_TAPE;
case 'x': return ARG_OS;
case 's': return ARG_DO_ASM;
}
return 0;
}
Sample Output
14
Comments
Hey! That's my code!
WRONG