• 2024-12-23PTA L1-059 敲笨钟 c语言基础
    #include<stdio.h>#include<string.h>intong(char*poem)//判断是否押韵 {   inti,len=strlen(poem),flag=0;   for(i=0;i<len;i++){      if(poem[i]==','){         if(poem[i-1]=='g'&&poem[i-2]=='n'&