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_20722322_12160.cpp: In member function 'void samNode::clear()':
0_0_20722322_12160.cpp:8:52: error: 'memset' was not declared in this scope
  void clear(){ prv=0;val=0;memset(nxt,0,sizeof(nxt)); }
                                                    ^
0_0_20722322_12160.cpp: In function 'void extend(const int&)':
0_0_20722322_12160.cpp:40:39: error: 'memcpy' was not declared in this scope
    memcpy(y->nxt,x->nxt,sizeof(x->nxt));
                                       ^
0_0_20722322_12160.cpp: In function 'int main()':
0_0_20722322_12160.cpp:56:21: error: 'scanf' was not declared in this scope
  int T;scanf("%d",&T);
                     ^
0_0_20722322_12160.cpp:68:27: error: 'printf' was not declared in this scope
    printf("%d\n",ans[x][y]);
                           ^


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-06-26 20:25:19, Gzip enabled