QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#343981 | #7933. Build Permutation | GuanYunchang | Compile Error | / | / | C++98 | 811b | 2024-03-03 12:29:54 | 2024-03-03 12:29:54 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void find(int)’: answer.code:39:13: error: ‘next_permutation’ was not declared in this scope 39 | while (next_permutation(arr, n)); | ^~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:46:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 46 | scanf("%d", &n); | ~~~~~^~~~~~~~~~