QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#728534 | #9574. Strips | ucup-team1782# | Compile Error | / | / | C++14 | 1.3kb | 2024-11-09 15:23:17 | 2024-11-09 15:23:17 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘bool work(int, int, int, int)’: answer.code:20:63: error: expected ‘;’ before ‘}’ token 20 | if(p<a[l]){dp[i]=max(a[i],k),pre[i]=0;continue} | ^ | ; answer.code: In function ‘int main()’: answer.code:38:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 38 | scanf("%d",&T); | ~~~~~^~~~~~~~~ answer.code:42:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 42 | scanf("%d%d%d%d",&n,&m,&k,&w); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ answer.code:43:44: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 43 | for(int i=1;i<=n;i++) scanf("%d",&a[i]); | ~~~~~^~~~~~~~~~~~ answer.code:44:44: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | for(int i=1;i<=m;i++) scanf("%d",&b[i]); | ~~~~~^~~~~~~~~~~~