记录详情

Wrong Answer

/in/foo.cc: In member function 'bool Sudoku::is_solved() const':
/in/foo.cc:49:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int k = 0; k < _cells.size(); k++) {
                  ~~^~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void Sudoku::write(std::ostream&) const':
/in/foo.cc:59:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int k = 0; k < _cells.size(); k++) {
                  ~~^~~~~~~~~~~~~~~
/in/foo.cc: In static member function 'static void Sudoku::init()':
/in/foo.cc:89:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int k = 0; k < _neighbors.size(); k++) {
                  ~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:90:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int x = 0; x < _groups_of[k].size(); x++) {
                   ~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'bool Sudoku::eliminate(int, int)':
/in/foo.cc:119:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < _neighbors[k].size(); i++) {
                   ~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:123:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < _groups_of[k].size(); i++) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'int Sudoku::least_count() const':
/in/foo.cc:146:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < _cells.size(); i++) {
                  ~~^~~~~~~~~~~~~~~
/in/foo.cc: In constructor 'Sudoku::Sudoku(std::__cxx11::string)':
/in/foo.cc:159:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s.size(); i++) {
                  ~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:195:6: warning: unused variable 'n' [-Wunused-variable]
  int n = 0;
      ^
/in/foo.cc: In member function 'int Sudoku::least_count() const':
/in/foo.cc:148:30: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (m > 1 && (k == -1 || m < min)) {
                            ~~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 5ms 616.0 KiB
#2 Wrong Answer 10ms 512.0 KiB
#3 Wrong Answer 8ms 512.0 KiB
#4 Wrong Answer 11ms 512.0 KiB
#5 Wrong Answer 12ms 512.0 KiB
#6 Wrong Answer 11ms 512.0 KiB
#7 Wrong Answer 10ms 588.0 KiB
#8 Wrong Answer 11ms 512.0 KiB
#9 Wrong Answer 12ms 612.0 KiB
#10 Wrong Answer 8ms 512.0 KiB
#11 Wrong Answer 6ms 512.0 KiB
#12 Wrong Answer 8ms 512.0 KiB
#13 Wrong Answer 5ms 632.0 KiB
#14 Wrong Answer 5ms 544.0 KiB
#15 Wrong Answer 12ms 512.0 KiB
#16 Wrong Answer 5ms 636.0 KiB
#17 Wrong Answer 6ms 600.0 KiB
#18 Wrong Answer 6ms 512.0 KiB
#19 Wrong Answer 5ms 512.0 KiB
#20 Wrong Answer 7ms 608.0 KiB

信息

递交者
类型
递交
题目
Sudoku
语言
C++
递交时间
2017-06-27 21:11:31
评测时间
2017-06-27 21:11:31
评测机
分数
0
总耗时
175ms
峰值内存
636.0 KiB