input/code.cpp: In function 'int main()':
input/code.cpp:29:43: error: expected ';' before ']' token
kaaleppi[i] = (i + rand()) % maara];
^
input/code.cpp:11:12: warning: unused variable 'j' [-Wunused-variable]
int i, j, k;
^
input/code.cpp:15:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(stdin, "%d", &maara);
^
input/code.cpp:19:40: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(stdin, "%d", &uolevi[i]);
^
input/code.cpp:23:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(stdin, "%d", &maija[i]);...