/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:35:2: error: 'vector' was not declared in this scope
  vector<double> v;
  ^~~~~~
/in/foo.cc:35:9: error: expected primary-expression before 'double'
  vector<double> v;
         ^~~~~~
/in/foo.cc:40:4: error: 'v' was not declared in this scope
    v.push_back(r);
    ^
/in/foo.cc:45:5: error: 'v' was not declared in this scope
     v.push_back(i);   
     ^
/in/foo.cc:52:33: error: 'v' was not declared in this scope
   cout<<fixed<<setprecision(2)<<v.at(i)<<" ";
                                 ^

信息

递交者
类型
递交
题目
P1116 一元三次方程求解
语言
C++
递交时间
2024-02-01 00:21:17
评测时间
2024-02-01 00:21:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes