Skip to content

Instantly share code, notes, and snippets.

@Yangff
Created April 19, 2014 07:38
Show Gist options
  • Save Yangff/11077042 to your computer and use it in GitHub Desktop.
Save Yangff/11077042 to your computer and use it in GitHub Desktop.
#include <cstdio>
int main(){
freopen("B.in", "w", stdout);
printf("5\n");
for (int i = 0; i < 5; i++){
printf("100000\n");
for (int j = 2; j <= 100000; j++)
printf("%d ", j - 1);
puts("");
printf("100000\n");
for (int j = 1; j <= 100000; j++)
printf("%d %d %d %d\n", j, j, 100000, 1000000000);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment