codeforces Gym - 101190A——Abbreviation

http://codeforces.com/gym/101190/attachments
징 그 러 운 시 뮬 레이 션 문제, 동료 가 쓴 코드.
#include
#include
#include
using namespace std;
string inn,out,wrd,cu1,cu2;
int co1,co2;
bool jup(char c)
{
    if('A'<=c&&c<='Z')  return 1;
    else    return 0;
}
bool jdw(char c)
{
    if('a'<=c&&c<='z')  return 1;
    else    return 0;
}
void cln()
{
    cu1=cu2="";
    co1=co2=0;
}
int main()
{
    freopen("abbreviation.in","r",stdin);
    freopen("abbreviation.out","w",stdout);
    while(getline(cin,inn))
    {
        out=""; cln();
        for(int i=0;i

좋은 웹페이지 즐겨찾기