ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1202. Rectangles Travel

Please add this test.
Posted by Zayakin Andrey[PermSU] 17 Jan 2011 19:18
#include <cstdio>
int main() {
    freopen("output.txt", "w", stdout);
    printf("99999\n");
    printf("0 0 10 100\n");
    for(int i =0 ; i < 99998; ++i) {
        printf("%d %d %d %d\n",  (i+1)*10,0,(i+2)*10 , 100);
    }
    return 0;
}
My early solution get AC, but must get TL.

Edited by author 19.01.2011 16:05