/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:32:30: error: variable 'std::stringstream ss' has initializer but incomplete type
             stringstream ss(s);
                              ^
foo.cc:49:13: error: 'queue' was not declared in this scope
             queue<int>ans;
             ^~~~~
foo.cc:49:19: error: expected primary-expression before 'int'
             queue<int>ans;
                   ^~~
foo.cc:50:30: error: variable 'std::stringstream ss' has initializer but incomplete type
             stringstream ss(s);
                              ^
foo.cc:62:17: error: 'ans' was not declared in this scope
                 ans.push(t);
                 ^~~
foo.cc:67:16: error: 'ans' was not declared in this scope
             if(ans.size()==1) {printf("[%d]",ans.front());continue;}//注意格式问题
                ^~~
foo.cc:68:27: error: 'ans' was not declared in this scope
             printf("[%d;",ans.front());
                           ^~~

自豪的采用jd5进行评测(github.com/masnn/jd5)

信息

递交者
类型
递交
题目
P1696 数与连分数
语言
C++
递交时间
2020-02-05 10:23:17
评测时间
2020-02-05 10:23:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes