A Weird Dragon

Limits: 1s, 128 MB

We all know about Daenerys Targaryen and her three dragons. And we also know that one of those dragon love’s to eat grass. Recently a farmer of Exile of Essos complained to Daenerys that that dragon ate all grasses of his land. So, Daenerys decided to punish her son I mean that dragon. She will tie that dragon for some time.

This is a companion discussion topic for the original entry at https://toph.co/p/a-weird-dragon
int main()
	int R,L,W;
	double A;
	return 0;

How can I produce output for the second sample given in the problem?

You didn’t even use R. :slight_smile: