Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78737 秦浩然 06整数除法 C++ Compile Error 0 MS 0 KB 10491 2024-06-28 21:01:11

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ #include<iostream> double a,b; scanf("%lf%lf",a/b.0); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:23: error: expected ')' before numeric constant
     scanf("%lf%lf",a/b.0);
                       ^
Main.cc:6:25: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'double' [-Wformat=]
     scanf("%lf%lf",a/b.0);
                         ^
Main.cc:6:25: warning: format '%lf' expects a matching 'double*' argument [-Wformat=]
Main.cc:6:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%lf%lf",a/b.0);
                          ^