QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#344001 | #7933. Build Permutation | HuangHanSheng | Compile Error | / | / | C11 | 1.6kb | 2024-03-03 13:24:52 | 2024-03-03 13:24:53 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘main’: answer.code:12:5: error: variable-sized object may not be initialized long long array[n],num[n]={}; ^~~~ answer.code: In function ‘isUnique’: answer.code:62:5: error: variable-sized object may not be initialized int temp_arr[n] = {}, temp_num[n] = {}; ^~~ answer.code:62:5: error: variable-sized object may not be initialized answer.code: In function ‘main’: answer.code:10:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^~~~~~~~~~~~~~~~ answer.code:14:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&array[i]); ^~~~~~~~~~~~~~~~~~~~~~~