#include <stdio.h>
int main(){
int c, nl = 0;
while ((c = getchar()) != EOF) {
if (c == '/n')
++nl;
}
printf("%d/n", nl);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266651.html
#include <stdio.h>
int main(){
int c, nl = 0;
while ((c = getchar()) != EOF) {
if (c == '/n')
++nl;
}
printf("%d/n", nl);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266651.html