Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
63153 李志奇 03圆的面积 C++ Compile Error 0 MS 0 KB 179 2024-01-06 12:29:54

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ double q=3.1415926 cout << q*1 cout << q*3 cout << q*5 cout << q*7 cout << q*9 return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:4: error: expected ',' or ';' before 'cout'
    cout << q*1
    ^
Main.cc:4:11: warning: unused variable 'q' [-Wunused-variable]
    double q=3.1415926
           ^