QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#344038 | #7933. Build Permutation | GuanYunchang | Compile Error | / | / | C11 | 820b | 2024-03-03 14:32:27 | 2024-03-03 14:32:27 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘main’: answer.code:7:5: error: variable-sized object may not be initialized unsigned int num[n]={}; ^~~~~~~~ answer.code:5:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u",&n); ^~~~~~~~~~~~~~ answer.code:9:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u",&array[i]); ^~~~~~~~~~~~~~~~~~~~~