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_31729805_12488.cpp: In function 'int gauss()':
0_0_31729805_12488.cpp:15:9: error: 'n' was not declared in this scope
     equ=n,var=?;//多少个方程,多少个变量
         ^
0_0_31729805_12488.cpp:15:15: error: expected primary-expression before '?' token
     equ=n,var=?;//多少个方程,多少个变量
               ^
0_0_31729805_12488.cpp:15:16: error: expected primary-expression before ';' token
     equ=n,var=?;//多少个方程,多少个变量
                ^
0_0_31729805_12488.cpp:15:16: error: expected ':' before ';' token
0_0_31729805_12488.cpp:15:16: error: expected primary-expression before ';' token
0_0_31729805_12488.cpp:24:38: error: 'memset' was not declared in this scope
     memset(free_x,true,sizeof(free_x));
                                      ^
0_0_31729805_12488.cpp:30:34: error: 'fabs' was not declared in this scope
             if(sgn(fabs(a[i][col])-fabs(a[max_r][col]))>0)
                                  ^
0_0_31729805_12488.cpp:36:41: error: 'swap' was not declared in this scope
                 swap(a[k][j],a[max_r][j]);
                                         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 21:29:28, Gzip enabled