Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
110096 邹金行 05买水果 C++ Compile Error 0 MS 0 KB 155 2025-02-14 15:54:07

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a=5,b=8,c=12; printf("%.3lf",(a+b+c)/3 39/a 39%a 39/b 39%b 39/c 39%c); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:27: error: expected ')' before numeric constant
  printf("%.3lf",(a+b+c)/3 39/a 39%a 39/b 39%b 39/c 39%c);
                           ^
Main.cc:5:56: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
  printf("%.3lf",(a+b+c)/3 39/a 39%a 39/b 39%b 39/c 39%c);
                                                        ^