Tests are weak.
Please, add these 6 maxtests to testset:
#include <stdio.h>
int main()
{
int i, k, N = 999;
printf("%d\n", N);
for (k = 0; k < 2001; k++)
{
for (i = 1; i <= N - 1; i++)
if (i == 997 || i == 503)
putc('0', stdout);
else
putc('1', stdout);
puts("");
}
return 0;
}
#include <stdio.h>
int main()
{
int i, k, N = 999;
printf("%d\n", N);
for (k = 0; k < 2001; k++)
{
for (i = 1; i <= N; i++)
if (i == 501)
putc('0', stdout);
else
putc('1', stdout);
puts("");
}
return 0;
}
#include <stdio.h>
int main()
{
int i, k, N = 999;
printf("%d\n", N);
for (k = 0; k < 2001; k++)
{
for (i = 1; i <= N + 1; i++)
if (i == 997 || i == 503)
putc('0', stdout);
else
putc('1', stdout);
puts("");
}
return 0;
}
#include <stdio.h>
#include <string.h>
int main()
{
int i, k, N = 999;
printf("%d\n", N);
for (k = 0; k < 2001; k++)
{
for (i = 1; i <= N - 1; i++)
if (i == 1 || i == 497)
putc('0', stdout);
else
putc('1', stdout);
puts("");
}
return 0;
}
#include <stdio.h>
int main()
{
int i, k, N = 999;
printf("%d\n", N);
for (k = 0; k < 2001; k++)
{
for (i = 1; i <= N; i++)
if (i == 499)
putc('0', stdout);
else
putc('1', stdout);
puts("");
}
return 0;
}
#include <stdio.h>
int main()
{
int i, k, N = 999;
printf("%d\n", N);
for (k = 0; k < 2001; k++)
{
for (i = 1; i <= N + 1; i++)
if (i == 2 || i == 500)
putc('0', stdout);
else
putc('1', stdout);
puts("");
}
return 0;
}
Edited by author 01.10.2008 20:53
Edited by author 01.10.2008 20:53