QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#413995#3003. Cost of Livingucup-team2880Compile Error//C++142.5kb2024-05-18 13:48:032024-05-18 13:48:04

Details

answer.code: In function ‘int main()’:
answer.code:56:17: error: ‘pritnf’ was not declared in this scope; did you mean ‘printf’?
   56 |                 pritnf("%d\n",cnt);
      |                 ^~~~~~
      |                 printf
answer.code:57:56: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=]
   57 |                 for(int i = 1;i <= n;++i) printf("%.10lf ",a[i][57]);
      |                                                   ~~~~~^   ~~~~~~~~
      |                                                        |          |
      |                                                        double     long double
      |                                                   %.10Lf