QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#37061#1284. Partition NumberMaMengQiCompile Error//C++111.0kb2022-06-30 10:05:392022-06-30 10:05:41

Details

answer.code:21:1: error: ‘coef’ does not name a type
   21 | coef h[N],_h[N];
      | ^~~~
answer.code: In function ‘int main()’:
answer.code:25:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   25 |     scanf("%d",&T);
      |     ~~~~~^~~~~~~~~
answer.code:37:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   37 |         scanf("%d%d",&n,&m);
      |         ~~~~~^~~~~~~~~~~~~~
answer.code:41:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   41 |             scanf("%d",&a[i]);
      |             ~~~~~^~~~~~~~~~~~