QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#478006 | #8050. Random Permutation | ucup-team3684 | Compile Error | / | / | C++20 | 936b | 2024-07-14 15:14:23 | 2024-07-14 15:14:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:9:5: error: ‘cin’ was not declared in this scope 9 | cin.tie(0)->sync_with_stdio(0); | ^~~ answer.code:12:9: error: ‘i’ was not declared in this scope 12 | rep(i, 0, n) { | ^ answer.code:12:5: error: ‘rep’ was not declared in this scope; did you mean ‘rp’? 12 | rep(i, 0, n) { | ^~~ | rp answer.code:21:9: error: ‘pi’ was not declared in this scope 21 | rep(pi, 1, n+1) { | ^~ answer.code:45:5: error: ‘cout’ was not declared in this scope 45 | cout << ans << '\n'; | ^~~~