← every case · 1000 · comments

1190-nested_block_comment_that_does_not

the first closer really does end the block in C, which does not nest

read ascloc.defaultcloc.docstring-as-codecodestats.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.c
1comments/* outer /* inner */
2codeint x = 1;

stringcommentthe tag around another language

What each tool answered

cloc.default ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

cloc --json --config /tmp/linejudge-empty-file cases/1000-comments/1190-nested_block_comment_that_does_not/input.c

cloc.default ✓ agrees

--strip-str-comments

the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

cloc --json --config /tmp/linejudge-empty-file cases/1000-comments/1190-nested_block_comment_that_does_not/input.c --strip-str-comments

cloc.docstring-as-code ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

cloc --json --config /tmp/linejudge-empty-file cases/1000-comments/1190-nested_block_comment_that_does_not/input.c --docstring-as-code

codestats.default ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

codestats cases/1000-comments/1190-nested_block_comment_that_does_not/input.c --output json-compact --include-generated --no-gitignore --hidden --no-config

mezura.content ✓ agrees
the rules ask2 lines · 1 code · 1 comments · 0 extra
it answers2 lines · 1 code · 1 comments · 0 extra

mezura cases/1000-comments/1190-nested_block_comment_that_does_not/input.c --output json --hide timing --no-default-config --no-local --counting content

mezura.region ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

mezura cases/1000-comments/1190-nested_block_comment_that_does_not/input.c --output json --hide timing --no-default-config --no-local --counting region

scc.default ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

scc --format json --no-config cases/1000-comments/1190-nested_block_comment_that_does_not/input.c

tokei.default ✓ agrees
the rules ask2 lines · 0 blanks · 1 code · 1 comments
it answers2 lines · 0 blanks · 1 code · 1 comments

tokei --output json cases/1000-comments/1190-nested_block_comment_that_does_not/input.c