/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'std::vector<int> highPrecisionMulti(std::vector<int>, std::vector<int>)':
foo.cpp:56:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < num2.size(); i++){
                    ^
foo.cpp:61:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; j < num1.size(); j++){
                     ^
foo.cpp:70:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < sum.size(); i++){
                    ^
foo.cpp: In function 'int main()':
foo.cpp:108:23: error: 'strlen' was not declared in this scope
  int n = strlen(number);
                       ^
foo.cpp:112:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < result.size(); i++){
                    ^

信息

递交者
类型
递交
题目
P1129 产生数
语言
C++
递交时间
2015-07-30 14:14:11
评测时间
2015-07-30 19:58:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes