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_36490390_21051.cpp: In member function 'void Matrix::init(int)':
0_0_36490390_21051.cpp:9:33: error: 'memset' was not declared in this scope
             memset(a,0,sizeof(a));
                                 ^
0_0_36490390_21051.cpp: In member function 'Matrix Matrix::operator*(Matrix)':
0_0_36490390_21051.cpp:36:36: error: 'memset' was not declared in this scope
             memset(p.a,0,sizeof p.a);
                                    ^
0_0_36490390_21051.cpp: In member function 'Matrix Matrix::power_1(int)':
0_0_36490390_21051.cpp:45:40: error: 'memset' was not declared in this scope
             memset(ans.a,0,sizeof ans.a);
                                        ^


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-17 13:39:40, Gzip enabled