QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#413995#3003. Cost of Livingucup-team2880Compile Error//C++142.5kb2024-05-18 13:48:032024-05-18 13:48:04

詳細信息

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