Code: Select all
WHAT
HATH
GOD
WROTH?
WHAT
AN
EARTHQUAKE
IM!
READY
TO
IM!
Code: Select all
WHAT
HATH
GOD
WROTH?
WHAT
AN
EARTHQUAKE
IM!
READY
TO
IM!
This is an invalid input, becausetenshi wrote:check this case:
1
4
0 9
0 9
0 9
1 9
Each of the two given integers is not less than 1, and the length of their sum does not exceed M.
number of DIFFERENT words
Code: Select all
FILE* fp=fopen("Input.txt","r");
Code: Select all
FILE* fp=stdin;
Code: Select all
#ifndef ONLINE_JUDGE
freopen("Input.txt", "r", stdin);
#endif