QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#786927 | #9782. NonZero PrefSuf Sums | ucup-team5160# | Compile Error | / | / | C++20 | 3.3kb | 2024-11-27 02:05:18 | 2024-11-27 02:05:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:3:13: error: expected primary-expression before ‘long’ 3 | #define int long long | ^~~~ answer.code:8:28: note: in expansion of macro ‘int’ 8 | static const int MAX_SUM = int(1e4) + 7; | ^~~ answer.code:10:15: error: size of array ‘dp’ is not an integral constant-expression 10 | int dp[MAX_N][MAX_SUM]; | ^~~~~~~ answer.code:11:20: error: size of array ‘zero_dp’ is not an integral constant-expression 11 | int zero_dp[MAX_N][MAX_SUM]; | ^~~~~~~