www.pudn.com > zju_1000_1010.rar > 1006_net.cpp


//AC 
#include 
#include 
 
char ciphertext[70], plaintext[70]; 
int  ciphercode[70], plaincode[70]; 
int  size, key; 
 
void text2code() 
{ 
	for(int i=0; i>key) { 
		if (key==0) break; 
		cin>>ciphertext; 
		size=strlen(ciphertext); 
		text2code(); 
		untwist(); 
		code2text(); 
		plaintext[size]='\0'; 
		cout<