buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
#include <stdio.h>
int main(int argc, const char *argv[]) {
// insert code here...
int w, h;
while (1) {
scanf("%d %d", &w, &h);
if (w == 0 && h == 0) {
break;
}
for (int y = 1; y <= w; y++) {
for (int x = 1; x <= h; x++) {
printf("#");
}
printf("\n");
}
}
... | #include <stdio.h>
int main(int argc, const char *argv[]) {
// insert code here...
int w, h;
while (1) {
scanf("%d %d", &w, &h);
if (w == 0 && h == 0) {
break;
}
for (int y = 1; y <= w; y++) {
for (int x = 1; x <= h; x++) {
printf("#");
}
printf("\n");
}
... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 105 |
//
// main.c
// ITP1_5_A
//
// Created by k16031kk on 2018/05/21.
// Copyright © 2018年 AIT. All rights reserved.
//
#include <stdio.h>
int main(int argc, const char *argv[]) {
// insert code here...
int H = 0, W = 0;
scanf("%d %d", &H, &W);
while (H != 0 || W != 0) {
for (int i = 0; i < H; i++) {
... | //
// main.c
// ITP1_5_A
//
// Created by k16031kk on 2018/05/21.
// Copyright © 2018年 AIT. All rights reserved.
//
#include <stdio.h>
int main(int argc, const char *argv[]) {
// insert code here...
int H = 0, W = 0;
scanf("%d %d", &H, &W);
while (H != 0 || W != 0) {
for (int i = 0; i < H; i++) {
... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 121 |
#include <stdio.h>
int main(void) {
int h, w, H, W;
while (1) {
scanf("%d %d", &H, &W);
for (h = 1; h <= H; h++) {
for (w = 1; w <= W; w++) {
printf("#");
}
printf("\n");
}
if (H == 0 && W == 0)
break;
}
return 0;
}
| #include <stdio.h>
int main(void) {
int h, w, H, W;
while (1) {
scanf("%d %d", &H, &W);
for (h = 1; h <= H; h++) {
for (w = 1; w <= W; w++) {
printf("#");
}
printf("\n");
}
if (H == 0 && W == 0)
break;
printf("\n");
}
return 0;
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 96 |
#include <stdio.h>
int main(int argc, const char *argv[]) {
// insert code here...
int W, H, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (W == 0 && H == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
ret... | #include <stdio.h>
int main(int argc, const char *argv[]) {
// insert code here...
int W, H, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (W == 0 && H == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
print... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 107 |
#include <stdio.h>
int main() {
int a, b, i, j;
while (1) {
scanf("%d %d", &a, &b);
if (a == b && a == 0)
break;
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
}
}
| #include <stdio.h>
int main() {
int a, b, i, j;
while (1) {
scanf("%d %d", &a, &b);
if (a == b && a == 0)
break;
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 92 |
#include <stdio.h>
int main() {
int x, y;
while (1) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0)
break;
for (int i = 0; i < x; i++) {
for (int j = 0; j < y; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
}
| #include <stdio.h>
int main() {
int x, y;
while (1) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0)
break;
for (int i = 0; i < x; i++) {
for (int j = 0; j < y; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 93 |
#include <stdio.h>
#define lp(i, n) for (i = 0; i < n; i++)
int main() {
int i;
int j;
int h;
int w;
while (1) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
break;
}
lp(i, h) {
lp(j, w) { printf("#"); }
printf("\n");
}
}
return 0;
}
| #include <stdio.h>
#define lp(i, n) for (i = 0; i < n; i++)
int main() {
int i;
int j;
int h;
int w;
while (1) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
break;
}
lp(i, h) {
lp(j, w) { printf("#"); }
printf("\n");
}
printf("\n");
}
return 0;
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 95 |
#include <stdio.h>
int main() {
int h, w, i, j;
scanf("%d %d", &h, &w);
while (h != 0 || w != 0) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
scanf("%d %d", &h, &w);
}
return 0;
}
| #include <stdio.h>
int main() {
int h, w, i, j;
scanf("%d %d", &h, &w);
while (h != 0 || w != 0) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
scanf("%d %d", &h, &w);
printf("\n");
}
return 0;
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 102 |
#include <stdio.h>
int main(void) {
char a = '#';
int i, j;
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
} else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("%c", a);
}
printf("\n");
j = 0;
... | #include <stdio.h>
int main(void) {
char a = '#';
int i, j;
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
} else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("%c", a);
}
printf("\n");
j = 0;
... | [["-", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["-", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 129 |
#include <stdio.h>
int main(void) {
int H, W, i, j;
for (;;) {
scanf("%d", &H);
scanf("%d", &W);
if (H == 0 && W == 0)
break;
else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
}
return 0;
}
| #include <stdio.h>
int main(void) {
int H, W, i, j;
for (;;) {
scanf("%d", &H);
scanf("%d", &W);
if (H == 0 && W == 0)
break;
else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
printf("\n");
}
re... | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 107 |
#include <stdio.h>
int main() {
int h, w;
scanf("%d %d", &h, &w);
while (h != 0 && w != 0) {
for (int i = 0; i < h; ++i) {
for (int j = 0; j < w; ++j)
printf("#");
printf("\n");
}
scanf("%d %d", &h, &w);
}
return 0;
}
| #include <stdio.h>
int main() {
int h, w;
scanf("%d %d", &h, &w);
while (h != 0 && w != 0) {
for (int i = 0; i < h; ++i) {
for (int j = 0; j < w; ++j)
printf("#");
printf("\n");
}
printf("\n");
scanf("%d %d", &h, &w);
}
return 0;
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 98 |
#include <stdio.h>
int main(void) {
int i, j, a, b;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0) {
break;
}
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
}
return (0);
}
| #include <stdio.h>
int main(void) {
int i, j, a, b;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0) {
break;
}
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return (0);
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 100 |
#include <stdio.h>
int main(void) {
int i, j;
int H, W;
while (scanf("%d %d", &H, &W)) {
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
putchar('#');
}
putchar('\n');
}
}
return 0;
}
| #include <stdio.h>
int main(void) {
int i, j;
int H, W;
while (scanf("%d %d", &H, &W)) {
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
putchar('#');
}
putchar('\n');
}
putchar('\n');
}
return 0;
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 95 |
#include <stdio.h>
int main() {
int i, j, H, W;
for (;;) {
scanf("%d %d", &H, &W);
if (H == 0 || W == 0) {
break;
} else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
}
return 0;
}
| #include <stdio.h>
int main() {
int i, j, H, W;
for (;;) {
scanf("%d %d", &H, &W);
if (H == 0 || W == 0) {
break;
} else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
}
return 0;
}
| [["+", 75, 76, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 0 | 101 |
#include <stdio.h>
//メイン関数
int main(void) {
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
}
| #include <stdio.h>
//メイン関数
int main(void) {
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 95 |
#include <stdio.h>
int main() {
int h, w, i, j;
while (1) {
scanf("%d%d", &h, &w);
if (h == 0 || w == 0)
return 0;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
}
| #include <stdio.h>
int main() {
int h, w, i, j;
while (1) {
scanf("%d%d", &h, &w);
if (h == 0 || w == 0)
return 0;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 96 |
#include <stdio.h>
int main() {
int h, w;
int i, j;
scanf("%d", &h);
scanf("%d", &w);
while (!((h == 0) && (w == 0))) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
scanf("%d", &h);
scanf("%d", &w);
}
return 0;
} | #include <stdio.h>
int main() {
int h, w;
int i, j;
scanf("%d", &h);
scanf("%d", &w);
while (!((h == 0) && (w == 0))) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d", &h);
scanf("%d", &w);
}
retur... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 124 |
#include <stdio.h>
int main() {
int h, w, h_roop, w_roop;
while (scanf("%d %d", &h, &w)) {
if (h == 0 && w == 0) {
break;
} else {
for (h_roop = 0; h_roop < h; h_roop++) {
for (w_roop = 0; w_roop < w; w_roop++) {
printf("#");
}
puts("");
}
}
}
r... | #include <stdio.h>
int main() {
int h, w, h_roop, w_roop;
while (scanf("%d %d", &h, &w)) {
if (h == 0 && w == 0) {
break;
} else {
for (h_roop = 0; h_roop < h; h_roop++) {
for (w_roop = 0; w_roop < w; w_roop++) {
printf("#");
}
puts("");
}
puts("")... | [["+", 75, 76, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 0 | 97 |
#include <stdio.h>
int main(void) {
int H, M, i, j;
scanf("%d %d", &H, &M);
while (1) {
if (H == 0 && M == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < M; j++) {
printf("#");
}
printf("\n");
}
scanf("%d %d", &H, &M);
}
return 0;
} | #include <stdio.h>
int main(void) {
int H, M, i, j;
scanf("%d %d", &H, &M);
while (1) {
if (H == 0 && M == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < M; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d", &H, &M);
}
return 0;... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 111 |
#include <stdio.h>
int main() {
int h, w, i, e;
scanf("%d %d", &h, &w);
while (h != 0 && w != 0) {
for (i = 0; i < h; i++) {
for (e = 0; e < w; e++) {
printf("#");
}
printf("\n");
}
scanf("%d %d", &h, &w);
}
return 0;
} | #include <stdio.h>
int main() {
int h, w, i, e;
scanf("%d %d", &h, &w);
while (h != 0 && w != 0) {
for (i = 0; i < h; i++) {
for (e = 0; e < w; e++) {
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d", &h, &w);
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 102 |
#include <stdio.h>
int main(void) {
int i, j, h, w;
for (;;) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
break;
} else {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int i, j, h, w;
for (;;) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
break;
} else {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
}
printf("\n");
}
return 0;
} | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 102 |
#include <stdio.h>
int main() {
int i, j;
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
}
return 0;
} | #include <stdio.h>
int main() {
int i, j;
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
printf("\n");
}
... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 101 |
#include <stdio.h>
int main(void) {
int H, W;
int i, n;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
for (n = 0; n < W; n++) {
printf("#");
}
putchar('\n');
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int H, W;
int i, n;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
for (n = 0; n < W; n++) {
printf("#");
}
putchar('\n');
}
putchar('\n');
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 99 |
#include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0)) {
break;
}
for (i = 1; i <= H; i++) {
for (j = 1; j <= W; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0)) {
break;
}
for (i = 1; i <= H; i++) {
for (j = 1; j <= W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 102 |
int main(void) {
int w, h;
while (1) {
scanf("%d %d", &h, &w);
if (w == 0 && h == 0)
break;
int i, j;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | int main(void) {
int w, h;
while (1) {
scanf("%d %d", &h, &w);
if (w == 0 && h == 0)
break;
int i, j;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 95 |
#include <stdio.h>
int main() {
int x, y, i, j;
while (1) {
scanf("%d%d", &x, &y);
if (x == 0 && y == 0) {
break;
}
for (i = 0; i < x; i++) {
for (j = 0; j < y; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main() {
int x, y, i, j;
while (1) {
scanf("%d%d", &x, &y);
if (x == 0 && y == 0) {
break;
}
for (i = 0; i < x; i++) {
for (j = 0; j < y; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 97 |
#include <stdio.h>
int main(void) {
int height, width, h, w;
scanf("%d %d", &height, &width);
while (!(height == 0 && width == 0)) {
for (h = 0; h < height; h++) {
for (w = 0; w < width; w++) {
putchar('#');
}
putchar('\n');
}
scanf("%d %d", &height, &width);
}
return ... | #include <stdio.h>
int main(void) {
int height, width, h, w;
scanf("%d %d", &height, &width);
while (!(height == 0 && width == 0)) {
for (h = 0; h < height; h++) {
for (w = 0; w < width; w++) {
putchar('#');
}
putchar('\n');
}
putchar('\n');
scanf("%d %d", &height, &wi... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 106 |
#include <stdio.h>
int main(void) {
int H, W, h, w;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (h = 1; h <= H; h++) {
for (w = 1; w <= W; w++)
putchar('#');
putchar('\n');
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int H, W, h, w;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (h = 1; h <= H; h++) {
for (w = 1; w <= W; w++)
putchar('#');
putchar('\n');
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 96 |
#include <stdio.h>
int main() {
int a, b;
int c, d;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0)
return 0;
for (c = 0; c < a; c++) {
for (d = 1; d <= b; d++) {
printf("#");
if (d == b)
printf("\n");
}
}
}
return 0;
} | #include <stdio.h>
int main() {
int a, b;
int c, d;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0)
return 0;
for (c = 0; c < a; c++) {
for (d = 1; d <= b; d++) {
printf("#");
if (d == b)
printf("\n");
}
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 103 |
#include <stdio.h>
int main() {
int H, W;
int i, j;
for (i = 0;; i++) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main() {
int H, W;
int i, j;
for (i = 0;; i++) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 102 |
#include <stdio.h>
int main() {
int H, W;
int i, j;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0))
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main() {
int H, W;
int i, j;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0))
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 100 |
#include <stdio.h>
int main() {
int H, W, i, x;
for (;;) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0))
break;
for (i = 0; i < H; i++) {
for (x = 0; x < W; x++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main() {
int H, W, i, x;
for (;;) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0))
break;
for (i = 0; i < H; i++) {
for (x = 0; x < W; x++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 100 |
#include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H != 0 && W != 0) {
for (j = 0; j < H; j++) {
for (i = 0; i < W; i++) {
printf("#");
}
printf("\n");
}
} else {
break;
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H != 0 && W != 0) {
for (j = 0; j < H; j++) {
for (i = 0; i < W; i++) {
printf("#");
}
printf("\n");
}
} else {
break;
}
printf("\n");
}
retu... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 101 |
#include <stdio.h>
int main(void) {
int h, w, i, j;
for (;;) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0)
break;
else {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++)
printf("#");
printf("\n");
}
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int h, w, i, j;
for (;;) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0)
break;
else {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++)
printf("#");
printf("\n");
}
printf("\n");
}
}
return 0;
} | [["+", 75, 76, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 0 | 98 |
#include <stdio.h>
int main() {
int H, W;
scanf("%d %d", &H, &W);
while ((H != 0) || (W != 0)) {
int i, j;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
putchar('\n');
}
scanf("%d %d", &H, &W);
}
return 0;
} | #include <stdio.h>
int main() {
int H, W;
scanf("%d %d", &H, &W);
while ((H != 0) || (W != 0)) {
int i, j;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
putchar('\n');
}
putchar('\n');
scanf("%d %d", &H, &W);
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 107 |
#include <stdio.h>
int main(void) {
int H, W;
do {
int i, j;
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
return 0;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
} while (H != 0 || W != 0);
return 0;
} | #include <stdio.h>
int main(void) {
int H, W;
do {
int i, j;
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
return 0;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
} while (H != 0 || W != 0);
return 0;
} | [["+", 0, 82, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 82, 8, 9, 0, 1, 0, 35]] | 0 | 106 |
#include <stdio.h>
int main(void) {
int i, j, k;
int h, w;
for (i = 0; 1; i++) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0)
break;
for (j = 0; j < h; j++) {
for (k = 0; k < w; k++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int i, j, k;
int h, w;
for (i = 0; 1; i++) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0)
break;
for (j = 0; j < h; j++) {
for (k = 0; k < w; k++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 106 |
//============================================================================
//
#include <ctype.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//============================================================================
#define PI 3.14159265359
#define succ(x) ((x) + 1)
#define pre... | //============================================================================
//
#include <ctype.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//============================================================================
#define PI 3.14159265359
#define succ(x) ((x) + 1)
#define pre... | [["-", 0, 1, 0, 2, 3, 4, 0, 66, 28, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 28, 22]] | 0 | 145 |
#include <stdio.h>
int main(void) {
int i, j, H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
putchar('#');
}
putchar('\n');
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int i, j, H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
putchar('#');
}
putchar('\n');
}
putchar('\n');
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 98 |
#include <stdio.h>
int main(void) {
int H = 0, W = 0, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int H = 0, W = 0, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 100 |
#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <stdio.h>
int main() {
int h, w, i;
while (1) {
scanf("%d%d", &h, &w);
if (h + w == 0)
break;
for (; h > 0; --h) {
for (i = 0; i < w; ++i)
putchar('#');
putchar('\n');
}
}
return 0;
} | #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <stdio.h>
int main() {
int h, w, i;
while (1) {
scanf("%d%d", &h, &w);
if (h + w == 0)
break;
for (; h > 0; --h) {
for (i = 0; i < w; ++i)
putchar('#');
putchar('\n');
}
putchar('\n');
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 90 |
#include <stdio.h>
int main() {
while (1) {
int H, W, counth, countw;
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (counth = 0; counth < H; counth++) {
for (countw = 0; countw <= W - 1; countw++) {
printf("#");
}
printf("\n");
}
}
re... | #include <stdio.h>
int main() {
while (1) {
int H, W, counth, countw;
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (counth = 0; counth < H; counth++) {
for (countw = 0; countw <= W - 1; countw++) {
printf("#");
}
printf("\n");
}
prin... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 103 |
#include <stdio.h>
int main() {
int i, j, H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 1; i++ <= H;) {
for (j = 1; j++ <= W;)
printf("#");
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main() {
int i, j, H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 1; i++ <= H;) {
for (j = 1; j++ <= W;)
printf("#");
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 91 |
#include <stdio.h>
int main(void) {
int h, w;
int i, j;
while (scanf("%d %d", &h, &w), h || w) {
if (h == 0 && w == 0)
break;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int h, w;
int i, j;
while (scanf("%d %d", &h, &w), h || w) {
if (h == 0 && w == 0)
break;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 99 |
#include <stdio.h>
int main() {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
printf("\n");
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | #include <stdio.h>
int main() {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["-", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["-", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 109 |
#include <stdio.h>
int main(void) {
int H = 0;
int W = 0;
int i, j;
do {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++)
putchar('#');
putchar('\n');
}
} while (1);
return 0;
} | #include <stdio.h>
int main(void) {
int H = 0;
int W = 0;
int i, j;
do {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++)
putchar('#');
putchar('\n');
}
putchar('\n');
} while (1);
return 0;
} | [["+", 0, 82, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 82, 8, 9, 0, 1, 0, 35]] | 0 | 102 |
#include <stdio.h>
void print_rectangle(int height, int width);
int main(void) {
int h, w;
while (1) {
// input
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
return 0;
} else {
print_rectangle(h, w);
}
}
}
void print_rectangle(int height, int width) {
int i, j;
for (i... | #include <stdio.h>
void print_rectangle(int height, int width);
int main(void) {
int h, w;
while (1) {
// input
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
return 0;
} else {
print_rectangle(h, w);
printf("\n");
}
}
}
void print_rectangle(int height, int width) {
... | [["+", 75, 76, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 0 | 129 |
#include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
} else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf('#');
}
printf('\n');
}
printf('\n');
}
}
return... | #include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
} else {
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
}
return... | [["-", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62]] | 0 | 108 |
#include <stdio.h>
int main(void) {
int i, j, h, w;
scanf("%d %d", &h, &w);
while (h != 0 || w != 0) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++)
printf("#");
printf("\n");
}
scanf("%d %d", &h, &w);
}
return 0;
} | #include <stdio.h>
int main(void) {
int i, j, h, w;
scanf("%d %d", &h, &w);
while (h != 0 || w != 0) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++)
printf("#");
printf("\n");
}
printf("\n");
scanf("%d %d", &h, &w);
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 101 |
#include <stdio.h>
int main(int argc, const char *argv[]) {
int H, W;
int i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
if (i != 0) {
printf("\n");
}
for (j = 0; j < W; j++) {
printf("#");
}
}... | #include <stdio.h>
int main(int argc, const char *argv[]) {
int H, W;
int i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
if (i != 0) {
printf("\n");
}
for (j = 0; j < W; j++) {
printf("#");
}
}... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 122 |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void) {
char tmp[1000];
//????????¢???????¨?
int height[300];
int width[300];
int cnt = 0;
//????????¢???????¨??????\???????¶???????
while (1) {
fgets(tmp, sizeof(tmp), stdin);
height[cnt] = atoi(strtok(tmp, " "... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void) {
char tmp[1000];
//????????¢???????¨?
int height[300];
int width[300];
int cnt = 0;
//????????¢???????¨??????\???????¶???????
while (1) {
fgets(tmp, sizeof(tmp), stdin);
height[cnt] = atoi(strtok(tmp, " "... | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 190 |
#include <stdio.h>
int main(void) {
int H, W, i = 0, j = 0;
while (1) {
scanf("%d %d", &H, &W);
printf("\n");
if (H == 0 & W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int H, W, i = 0, j = 0;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 & W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["-", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["-", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 114 |
#include <stdio.h>
int main(void) {
int H, W;
int h, w;
scanf("%d %d", &H, &W);
do {
for (h = 1; h <= H; h++) {
for (w = 1; w <= W; w++)
printf("#");
printf("\n");
}
scanf("%d %d", &H, &W);
} while (H != 0 && W != 0);
return 0;
} | #include <stdio.h>
int main(void) {
int H, W;
int h, w;
scanf("%d %d", &H, &W);
do {
for (h = 1; h <= H; h++) {
for (w = 1; w <= W; w++)
printf("#");
printf("\n");
}
printf("\n");
scanf("%d %d", &H, &W);
} while (H != 0 && W != 0);
return 0;
} | [["+", 0, 82, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 82, 8, 9, 0, 1, 0, 35]] | 0 | 104 |
#include <stdio.h>
int main(void) {
int H = 1, W = 1;
int i = 0, j = 0;
while (H != 0 && W != 0) {
scanf("%d", &H);
scanf("%d", &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
... | #include <stdio.h>
int main(void) {
int H = 1, W = 1;
int i = 0, j = 0;
while (H != 0 && W != 0) {
scanf("%d", &H);
scanf("%d", &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
pr... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 120 |
#include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i = i + 1) {
for (j = 0; j < W; j = j + 1) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i = i + 1) {
for (j = 0; j < W; j = j + 1) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 104 |
#include <stdio.h>
int main(void) {
int H;
int W;
int a;
int b;
for (;;) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (a = 1; a <= H; a++) {
for (b = 1; b <= W; b++) {
printf("#");
}
printf("\n");
}
}
return (0);
} | #include <stdio.h>
int main(void) {
int H;
int W;
int a;
int b;
for (;;) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (a = 1; a <= H; a++) {
for (b = 1; b <= W; b++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return (0);
} | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 104 |
#include <stdio.h>
int main(void) {
int i;
int j;
int a, b;
while (1) {
name:
scanf("%d%d", &a, &b);
if (a == 0 && b == 0) {
break;
} else if (a == 0 || b == 0) {
printf("\n");
goto name;
}
for (i = 1; i <= a; i++) {
for (j = 1; j <= b; j++) {
printf("#");
... | #include <stdio.h>
int main(void) {
int i;
int j;
int a, b;
while (1) {
name:
scanf("%d%d", &a, &b);
if (a == 0 && b == 0) {
break;
} else if (a == 0 || b == 0) {
printf("\n");
goto name;
}
for (i = 1; i <= a; i++) {
for (j = 1; j <= b; j++) {
printf("#");
... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 125 |
#include <stdio.h>
int main(int argc, const char *argv[]) {
int h = 0, w = 0, i = 0, j = 0;
while (1) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
break;
}
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(int argc, const char *argv[]) {
int h = 0, w = 0, i = 0, j = 0;
while (1) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
break;
}
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 114 |
#include <stdio.h>
int main() {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0))
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
return (0);
} | #include <stdio.h>
int main() {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0))
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return (0);
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 101 |
#include <stdio.h>
int main(void) {
int H = 1, W = 1, i, j;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0))
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int H = 1, W = 1, i, j;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0))
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 104 |
#include <stdio.h>
int main(void) {
int i, j, h, w;
scanf("%d %d", &h, &w);
while ((h != 0) || (w != 0)) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
scanf("%d %d", &h, &w);
}
return 0;
} | #include <stdio.h>
int main(void) {
//????????????????????¨NG??£??????
int i, j, h, w;
scanf("%d %d", &h, &w);
while ((h != 0) || (w != 0)) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d", &h, &w);
}
... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 107 |
#include <stdio.h>
int main(void) {
int a, b, H, W;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0)) {
break;
} else {
for (a = 0; a < H; a++) {
for (b = 0; b < W; b++) {
printf("#");
}
printf("\n");
}
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, H, W;
while (1) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0)) {
break;
} else {
for (a = 0; a < H; a++) {
for (b = 0; b < W; b++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
}
ret... | [["+", 75, 76, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 0 | 105 |
#include <stdio.h>
int main(void) {
int i, j, H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++)
putchar('#');
puts("");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int i, j, H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++)
putchar('#');
puts("");
}
puts("");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 93 |
#include <stdio.h>
int main() {
int i, t, u, H[100], W[100];
for (i = 0;; i += 1) {
scanf("%d %d", &H[i], &W[i]);
if (H[i] == 0 && W[i] == 0) {
break;
}
for (t = 1; t <= H[i]; t += 1) {
for (u = 1; u <= W[i]; u += 1) {
if (u < W[i]) {
printf("#");
} else if (u =... | #include <stdio.h>
int main() {
int i, t, u, H[100], W[100];
for (i = 0;; i += 1) {
scanf("%d %d", &H[i], &W[i]);
if (H[i] == 0 && W[i] == 0) {
break;
}
for (t = 1; t <= H[i]; t += 1) {
for (u = 1; u <= W[i]; u += 1) {
if (u < W[i]) {
printf("#");
} else if (u =... | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 156 |
#include <stdio.h>
int main(int argc, const char *argv[]) {
int H, W, i, j, l;
for (i = 0;; i++) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (j = 0; j < H; j++) {
for (l = 0; l < W; l++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(int argc, const char *argv[]) {
int H, W, i, j, l;
for (i = 0;; i++) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (j = 0; j < H; j++) {
for (l = 0; l < W; l++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
... | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 114 |
#include <stdio.h>
int main(void)
{
int H, W, i, j;
H = 1;
W = 1;
while ((H != 0) || (W != 0)) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0)) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void)
{
int H, W, i, j;
H = 1;
W = 1;
while ((H != 0) || (W != 0)) {
scanf("%d %d", &H, &W);
if ((H == 0) && (W == 0)) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 120 |
#include <stdio.h>
int main(void) {
int H, W;
int a, b, k = 1;
while (k != 0) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (b = 1; b <= H; b++) {
for (a = 1; a <= W; a++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int H, W;
int a, b, k = 1;
while (k != 0) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (b = 1; b <= H; b++) {
for (a = 1; a <= W; a++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 105 |
#include <stdio.h>
int main(void) {
int H, W;
while (scanf("%d %d", &H, &W)) {
if (H == 0 && W == 0) {
return 0;
}
int i;
for (i = 0; i < H; ++i) {
int j;
for (j = 0; j < W; ++j) {
printf("#");
}
printf("\n");
}
}
} | #include <stdio.h>
int main(void) {
int H, W;
while (scanf("%d %d", &H, &W)) {
if (H == 0 && W == 0) {
return 0;
}
int i;
for (i = 0; i < H; ++i) {
int j;
for (j = 0; j < W; ++j) {
printf("#");
}
printf("\n");
}
printf("\n");
}
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 96 |
#include <stdio.h>
int main() {
int i, q, H, W;
while (1) {
scanf("%d %d", &H, &W);
if (!(H && W)) {
break;
}
for (i = 0; i < H; i++) {
for (q = 0; q < W; q++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main() {
int i, q, H, W;
while (1) {
scanf("%d %d", &H, &W);
if (!(H && W)) {
break;
}
for (i = 0; i < H; i++) {
for (q = 0; q < W; q++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 96 |
#include <stdio.h>
int main(void) {
int h[300];
int w[300];
int i = 0;
int j = 0;
int k, l;
while (1) {
scanf("%d %d", &h[i], &w[i]);
if (h[i] == 0 && w[i] == 0) {
break;
}
for (k = 0; k < h[i]; k++) {
for (l = 0; l < w[i]; l++) {
printf("#");
}
printf("\n")... | #include <stdio.h>
int main(void) {
int h[300];
int w[300];
int i = 0;
int j = 0;
int k, l;
while (1) {
scanf("%d %d", &h[i], &w[i]);
if (h[i] == 0 && w[i] == 0) {
break;
}
for (k = 0; k < h[i]; k++) {
for (l = 0; l < w[i]; l++) {
printf("#");
}
printf("\n")... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 139 |
#include <stdio.h>
int main() {
int H, W, s, s2, s3, dr[1000] = {0}, dr2[1000] = {0}, c = 0, c2 = 0;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
dr[c] = H;
dr2[c] = W;
c++;
}
for (s = 0; s < c; s++) {
for (s2 = 0; s2 < dr[c2]; s2++) {
for (s3 = 0; s3 ... | #include <stdio.h>
int main() {
int H, W, s, s2, s3, dr[1000] = {0}, dr2[1000] = {0}, c = 0, c2 = 0;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
dr[c] = H;
dr2[c] = W;
c++;
}
for (s = 0; s < c; s++) {
for (s2 = 0; s2 < dr[c2]; s2++) {
for (s3 = 0; s3 ... | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 181 |
#include <math.h>
#include <stdio.h>
int main(void) {
int H, W, i, s;
for (;;) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 1; i <= H; i++) {
for (s = 1; s <= W; s++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <math.h>
#include <stdio.h>
int main(void) {
int H, W, i, s;
for (;;) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 1; i <= H; i++) {
for (s = 1; s <= W; s++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 99 |
#include <stdio.h>
int main(void) {
int h, w;
int i, j;
while (1) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
break;
} else {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int h, w;
int i, j;
while (1) {
scanf("%d %d", &h, &w);
if (h == 0 && w == 0) {
break;
} else {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
}
... | [["+", 75, 76, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 0 | 102 |
#include <stdio.h>
int main() {
int H, W;
int i = 0;
int j = 0;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main() {
int H, W;
int i = 0;
int j = 0;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 101 |
#include <stdio.h>
int main(void) {
int a = 1;
int b = 1;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0)
break;
for (int j = 0; j < a; j++) {
for (int i = 0; i < b; i++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int a = 1;
int b = 1;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0)
break;
for (int j = 0; j < a; j++) {
for (int i = 0; i < b; i++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 99 |
#include <stdio.h>
int main() {
int H = 0;
int W = 0;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (int a = 0; a < H; a++) {
for (int b = 0; b < W; b++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main() {
int H = 0;
int W = 0;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (int a = 0; a < H; a++) {
for (int b = 0; b < W; b++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 100 |
#include <stdio.h>
int main(void) {
int a, b, i, j;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0)
return (0);
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
}
return (0);
} | #include <stdio.h>
int main(void) {
int a, b, i, j;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0)
return (0);
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return (0);
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 101 |
#include <stdio.h>
int main(void) {
int a, b, n, m;
while (1) {
scanf("%d %d", &a, &b);
if ((a == 0) && (b == 0)) {
break;
} else {
for (m = 1; m <= a; m++) {
for (n = 1; n <= b; n++) {
printf("#");
}
printf("\n");
}
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, n, m;
while (1) {
scanf("%d %d", &a, &b);
if ((a == 0) && (b == 0)) {
break;
} else {
for (m = 1; m <= a; m++) {
for (n = 1; n <= b; n++) {
printf("#");
}
printf("\n");
}
}
printf("\n");
}
r... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 105 |
#include <stdio.h>
int main() {
int tate, yoko;
while (1) {
scanf("%d %d", &tate, &yoko);
if (tate == 0 && yoko == 0) {
break;
} else {
for (int i = 1; i <= tate; i++) {
for (int k = 1; k <= yoko; k++) {
printf("#");
}
printf("\n");
}
}
}
retu... | #include <stdio.h>
int main() {
int tate, yoko;
while (1) {
scanf("%d %d", &tate, &yoko);
if (tate == 0 && yoko == 0) {
break;
} else {
for (int i = 1; i <= tate; i++) {
for (int k = 1; k <= yoko; k++) {
printf("#");
}
printf("\n");
}
printf("\n... | [["+", 75, 76, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 0 | 98 |
#include <stdio.h>
int main() {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 1; H >= i; i++) {
for (j = 1; W >= j; j++) {
printf("#");
if (W == j)
printf("\n");
}
}
}
} | #include <stdio.h>
int main() {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (i = 1; H >= i; i++) {
for (j = 1; W >= j; j++) {
printf("#");
if (W == j)
printf("\n");
}
}
printf("\n");
}
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 0 | 98 |
#include <cstdio>
int main(int argc, char const *argv[]) {
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
}
| #include <cstdio>
int main(int argc, char const *argv[]) {
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
}
| [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 102 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a = 1, b = 1, i, j;
while (a != 0 && b != 0) {
cin >> a >> b;
if (a == 0 && b == 0) {
break;
}
for (i = 1; i <= a; i++) {
for (j = 1; j <= b; j++) {
printf("#");
}
printf("\n");
}
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a = 1, b = 1, i, j;
while (a != 0 && b != 0) {
cin >> a >> b;
if (a == 0 && b == 0) {
break;
}
for (i = 1; i <= a; i++) {
for (j = 1; j <= b; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 101 |
#include <iostream>
using namespace std;
int main() {
int h, w;
while (1) {
scanf("%d %d", &h, &w);
if (h == 0)
break;
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int h, w;
while (1) {
scanf("%d %d", &h, &w);
if (h == 0)
break;
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 93 |
#include <stdio.h>
int main() {
int baris, kolom;
for (int i = 0;; i++) {
scanf("%d %d", &baris, &kolom);
if (baris == 0 && kolom == 0) {
break;
} else {
for (int j = 0; j < baris; j++) {
for (int k = 0; k < kolom; k++) {
printf("#");
}
printf("\n");
}... | #include <stdio.h>
int main() {
int baris, kolom;
for (int i = 0;; i++) {
scanf("%d %d", &baris, &kolom);
if (baris == 0 && kolom == 0) {
break;
} else {
for (int j = 0; j < baris; j++) {
for (int k = 0; k < kolom; k++) {
printf("#");
}
printf("\n");
}... | [["+", 75, 76, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 1 | 102 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
while (cin >> h >> w && h && w) {
for (int i = 1; i <= h; ++i) {
for (int j = 1; j <= w; ++j) {
cout << '#';
}
cout << endl;
}
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
while (cin >> h >> w && h && w) {
for (int i = 1; i <= h; ++i) {
for (int j = 1; j <= w; ++j) {
cout << "#";
}
cout << endl;
}
cout << endl;
}
return 0;
}
| [["-", 8, 9, 0, 1, 0, 16, 12, 103, 0, 104], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 76 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b, i, j;
while (1) {
cin >> a >> b;
if (a == 0 && b == 0) {
break;
} else {
for (j = 1; j <= a; j++) {
{
for (i = 1; i <= b; i++) {
printf("#");
}
printf("\n");
... | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b, i, j;
while (1) {
cin >> a >> b;
if (a == 0 && b == 0) {
break;
} else {
for (j = 1; j <= a; j++) {
{
for (i = 1; i <= b; i++) {
printf("#");
}
printf("\n");
... | [["+", 75, 76, 0, 9, 0, 1, 0, 2, 63, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 1 | 101 |
#include <iostream>
using namespace std;
int main() {
int h, w;
while (1) {
cin >> h >> w;
if (h == 0 & w == 0)
break;
int i, j;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
cout << "#";
}
cout << "\n";
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int h, w;
while (1) {
cin >> h >> w;
if (h == 0 & w == 0)
break;
int i, j;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
cout << "#";
}
cout << "\n";
}
cout << "\n";
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 44], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 91 |
#include <stdio.h>
int main(void) {
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
else {
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
if (j == W - 1)
printf("#\n");
else
printf("#");
}
... | #include <stdio.h>
int main(void) {
int H, W;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0)
break;
else {
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
if (j == W - 1)
printf("#\n");
else
printf("#");
}
... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 107 |
#include <iostream>
using namespace std;
int main() {
int H, W;
while (true) {
cin >> H >> W;
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; ++i) {
for (int j = 0; j < W; ++j) {
cout << "#";
};
cout << "\n";
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int H, W;
while (true) {
cin >> H >> W;
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; ++i) {
for (int j = 0; j < W; ++j) {
cout << "#";
};
cout << "\n";
}
cout << "\n";
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 44], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 89 |
#include <stdio.h>
int main() {
while (true) {
int w, h;
scanf("%d %d", &h, &w);
if (0 == h && 0 == w)
break;
for (int i = 0; i < h; ++i) {
for (int j = 0; j < w; ++j) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main() {
while (true) {
int w, h;
scanf("%d %d", &h, &w);
if (0 == h && 0 == w)
break;
for (int i = 0; i < h; ++i) {
for (int j = 0; j < w; ++j) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 93 |
#include <iostream>
int main() {
int h, w;
while (1) {
std::cin >> h >> w;
if (h == 0 && w == 0)
break;
for (int i = 0; i < h; ++i) {
for (int i = 0; i < w; ++i) {
std::cout << "#" << std::endl;
}
std::cout << std::endl;
}
}
return 0;
} | #include <iostream>
int main() {
int h, w;
while (1) {
std::cin >> h >> w;
if (h == 0 && w == 0)
break;
for (int i = 0; i < h; ++i) {
for (int i = 0; i < w; ++i) {
std::cout << "#";
}
std::cout << std::endl;
}
std::cout << std::endl;
}
return 0;
} | [["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35], ["+", 0, 7, 8, 9, 0, 7, 8, 9, 0, 46], ["+", 8, 9, 0, 1, 0, 16, 31, 343, 345, 348], ["+", 8, 9, 0, 1, 0, 16, 31, 343, 0, 349], ["+", 8, 9, 0, 1, 0, 16, 31, 343, 141, 22], ["-", 0, 52, 8, 9, 0, 7, 8, 9, 0, 46]] | 1 | 94 |
#include <cmath>
#include <cstdio>
using namespace std;
int main(void) {
int h, w;
int i, j;
while (scanf("%d %d", &h, &w) != EOF && h != 0 || w != 0) {
for (i = 0; i < h; i++) {
printf("#");
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
... | #include <cmath>
#include <cstdio>
using namespace std;
int main(void) {
int h, w;
int i, j;
while (scanf("%d %d", &h, &w) != EOF && h != 0 || w != 0) {
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["-", 0, 7, 8, 9, 0, 1, 0, 2, 63, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["-", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 1 | 113 |
#include <stdio.h>
using namespace std;
int main() {
int h, w;
int i, j;
while (1) {
scanf("%d %d", &h, &w);
if (!h && !w)
break;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
putchar('#');
}
putchar('\n');
}
}
return 0;
} | #include <stdio.h>
using namespace std;
int main() {
int h, w;
int i, j;
while (1) {
scanf("%d %d", &h, &w);
if (!h && !w)
break;
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
putchar('#');
}
putchar('\n');
}
putchar('\n');
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["+", 0, 1, 0, 2, 3, 4, 0, 103, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 98 |
#include <stdio.h>
int main(void) {
int i, j;
int a, b;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0) {
break;
}
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int i, j;
int a, b;
while (1) {
scanf("%d %d", &a, &b);
if (a == 0 && b == 0) {
break;
}
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 99 |
#include <stdio.h>
int main(void) {
int a, b, i, j;
scanf("%d %d", &a, &b);
while (a != 0 || b != 0) {
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
scanf("%d %d", &a, &b);
}
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, i, j;
scanf("%d %d", &a, &b);
while (a != 0 || b != 0) {
for (i = 0; i < a; i++) {
for (j = 0; j < b; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d", &a, &b);
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 103 |
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
while (1) {
int h, w;
cin >> h >> w;
if (h == 0 && w == 0) {
break;
}
for (int y = 0; y < h; y++) {
for (int x = 0; x < w; x++) {
printf("#");
}
printf("\n");
}
}
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
while (1) {
int h, w;
cin >> h >> w;
if (h == 0 && w == 0) {
break;
}
for (int y = 0; y < h; y++) {
for (int x = 0; x < w; x++) {
printf("#");
}
printf("\n");
}
printf("\n");
}
... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 94 |
#include <cstdio>
int main() {
int h, w;
scanf("%d %d", &h, &w);
while (h && h) {
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
scanf("%d %d", &h, &w);
}
} | #include <cstdio>
int main() {
int h, w;
scanf("%d %d", &h, &w);
while (h && h) {
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++) {
printf("#");
}
printf("\n");
}
printf("\n");
scanf("%d %d", &h, &w);
}
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 93 |
#include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
if (j == W - 1) {
printf("\n");
}
}
}
}
return 0;
... | #include <stdio.h>
int main(void) {
int H, W, i, j;
while (1) {
scanf("%d %d", &H, &W);
if (H == 0 && W == 0) {
break;
}
for (i = 0; i < H; i++) {
for (j = 0; j < W; j++) {
printf("#");
if (j == W - 1) {
printf("\n");
}
}
}
printf("\n")... | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 108 |
#include <stdio.h>
int main() {
int h, w;
scanf("%d %d", &h, &w);
while (1) {
if (h == 0 && w == 0)
break;
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++)
printf("#");
printf("\n");
}
scanf("%d %d", &h, &w);
}
return 0;
} | #include <stdio.h>
int main() {
int h, w;
scanf("%d %d", &h, &w);
while (1) {
if (h == 0 && w == 0)
break;
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++)
printf("#");
printf("\n");
}
scanf("%d %d", &h, &w);
printf("\n");
}
return 0;
} | [["+", 0, 52, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 104 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int h, w;
// for(i = 0; i <= n; i ++ 1){
while (1) {
cin >> h >> w;
if (h == 0 & w == 0)
break;
for (int j = 0; j < h; j++) {
for (int i = 0; i < w; i++) {
cout << "#";
}
cout << "\n";
}
}
... | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int h, w;
// for(i = 0; i <= n; i ++ 1){
while (1) {
cin >> h >> w;
if (h == 0 & w == 0)
break;
for (int j = 0; j < h; j++) {
for (int i = 0; i < w; i++) {
cout << "#";
}
cout << "\n";
}
c... | [["+", 0, 52, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 44], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 91 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.