F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_35131428_8174.cpp: In function 'int** generate_sudoku(int)':
0_0_35131428_8174.cpp:79:57: error: expected primary-expression before '?' token
 memset( num_used_in_cur_row, 0, ( sizeof( int ) * n ) );?
                                                         ^
0_0_35131428_8174.cpp:81:1: error: expected primary-expression before 'if'
 if( row == cur_unit_matrix_row + m )
 ^
0_0_35131428_8174.cpp:81:1: error: expected ':' before 'if'
0_0_35131428_8174.cpp:81:1: error: expected primary-expression before 'if'
0_0_35131428_8174.cpp:99:30: error: expected primary-expression before '/' token
  while( candidate_row < n && / ( num_used_in_cur_row[ sudoku_matrix[candidate_row][column] - 1 ] != 0 || / num_used_in_cur_unit_matrix[unit_matrix_idx][ sudoku_matrix[candidate_row][column] - 1 ] != 0))
                              ^
0_0_35131428_8174.cpp:99:106: error: expected primary-expression before '/' token
  while( candidate_row < n && / ( num_used_in_cur_row[ sudoku_matrix[candidate_row][column] - 1 ] != 0 || / num_used_in_cur_unit_matrix[unit_matrix_idx][ sudoku_matrix[candidate_row][column] - 1 ] != 0))
                                                                                                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-01 14:10:54, Gzip enabled