运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
631559 qrf148708 1051 - 性质判断 编译错误 0 0 MS 0 KB C++ 1134 10天前
暂时无法获取本题测试点详情。

Main.cc: In function 'int main()':
Main.cc:28:5: error: 'vector' was not declared in this scope
28 | vector<Word> words;
| ^~~~~~
Main.cc:4:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
3 | #include<algorithm>
+++ |+#include <vector>
4 | using namespace std;
Main.cc:28:16: error: expected primary-expression before '>' token
28 | vector<Word> words;
| ^
Main.cc:28:18: error: 'words' was not declared in this scope
28 | vector<Word> words;
| ^~~~~
Main.cc:37:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(int i=0;i<s.length()-1;i++){
| ~^~~~~~~~~~~~~