QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#155070 | #6654. 大纲 | MaMengQi | Compile Error | / | / | C++14 | 1.6kb | 2023-09-01 09:34:41 | 2023-09-01 09:34:41 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void update(long long int, long long int)’: answer.code:13:63: error: expected ‘;’ before ‘}’ token 13 | f[u].rand_max=max(f[u].rand_max,f[s].rand_max) | ^ | ; 14 | }else if(f[s].a>=f[u].max1){ | ~ answer.code: In function ‘int main()’: answer.code:60:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 60 | scanf("%lld",&T); | ~~~~~^~~~~~~~~~~ answer.code:62:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 62 | scanf("%lld",&n);ans=1; | ~~~~~^~~~~~~~~~~ answer.code:63:50: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 63 | for(int i=1;i<=n;i++)f[i]=E,scanf("%lld",&f[i].a),g[i].clear(); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:65:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 65 | scanf("%lld%lld",&x,&y); | ~~~~~^~~~~~~~~~~~~~~~~~