void jednpodp(int wpx, int wpy, int skx, int sky, int tabel[9][9])
{
int tabelka[9][9];
int suma = 0;
int j = 0;
for (int wy = 0; wy < 9; wy++)
{
for (int wx = 0; wx < 9; wx++)
{
suma = 0;
for ( int a = 1; a <= 9;a++)
{
if ( (sprawdz(wx, wy, a, tabel)!=0)){
j = a;
suma++;
}
}
if (suma == 1){
gotoxy(wx, wy);
tabel[wy][wx ] = j;
break;
}
dm9pZCBqZWRucG9kcChpbnQgd3B4LCBpbnQgd3B5LCBpbnQgc2t4LCBpbnQgc2t5LCBpbnQgdGFiZWxbOV1bOV0pCnsKCWludCB0YWJlbGthWzldWzldOwoJCglpbnQgc3VtYSA9IDA7CglpbnQgaiA9IDA7CgoJZm9yIChpbnQgd3kgPSAwOyB3eSA8IDk7IHd5KyspCgl7CgkJZm9yIChpbnQgd3ggPSAwOyB3eCA8IDk7IHd4KyspCgkJewoJCQlzdW1hID0gMDsKCQkJCgkJCWZvciAoIGludCBhID0gMTsgYSA8PSA5O2ErKykKCQkJewoJCQkJaWYgICggKHNwcmF3ZHood3gsIHd5LCBhLCB0YWJlbCkhPTApKXsKCQkJCQlqID0gYTsKCQkJCQlzdW1hKys7CgkJCQkJCgkJCQkJfQoJCQkJCgkJCgkJCQl9CgkJCWlmIChzdW1hID09IDEpewoJCQkJZ290b3h5KHd4LCB3eSk7CgkJCQl0YWJlbFt3eV1bd3ggXSA9IGo7CgkJCQlicmVhazsKCQkJCgkJCX0=
Main.java:1: error: class, interface, or enum expected
void jednpodp(int wpx, int wpy, int skx, int sky, int tabel[9][9])
^
Main.java:5: error: class, interface, or enum expected
int suma = 0;
^
Main.java:6: error: class, interface, or enum expected
int j = 0;
^
Main.java:8: error: class, interface, or enum expected
for (int wy = 0; wy < 9; wy++)
^
Main.java:8: error: class, interface, or enum expected
for (int wy = 0; wy < 9; wy++)
^
Main.java:8: error: class, interface, or enum expected
for (int wy = 0; wy < 9; wy++)
^
Main.java:10: error: class, interface, or enum expected
for (int wx = 0; wx < 9; wx++)
^
Main.java:10: error: class, interface, or enum expected
for (int wx = 0; wx < 9; wx++)
^
Main.java:14: error: class, interface, or enum expected
for ( int a = 1; a <= 9;a++)
^
Main.java:14: error: class, interface, or enum expected
for ( int a = 1; a <= 9;a++)
^
Main.java:14: error: class, interface, or enum expected
for ( int a = 1; a <= 9;a++)
^
Main.java:18: error: class, interface, or enum expected
suma++;
^
Main.java:20: error: class, interface, or enum expected
}
^
Main.java:26: error: class, interface, or enum expected
tabel[wy][wx ] = j;
^
Main.java:27: error: class, interface, or enum expected
break;
^
Main.java:29: error: class, interface, or enum expected
}
^
16 errors