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_32847227_3598.cpp:1:24: error: stray '#' in program
 </pre><pre class="cpp">#include <iostream>
                        ^
0_0_32847227_3598.cpp:1:1: error: expected unqualified-id before '<' token
 </pre><pre class="cpp">#include <iostream>
 ^
0_0_32847227_3598.cpp: In function 'int main()':
0_0_32847227_3598.cpp:55:46: error: 'memcpy' was not declared in this scope
   memcpy(num[i], num[i-1], sizeof(num[i - 1]));
                                              ^
0_0_32847227_3598.cpp:60:22: error: 'scanf' was not declared in this scope
  while(scanf("%d", &n) != EOF)
                      ^
0_0_32847227_3598.cpp:60:27: error: 'EOF' was not declared in this scope
  while(scanf("%d", &n) != EOF)
                           ^
0_0_32847227_3598.cpp:65:26: error: 'printf' was not declared in this scope
    printf("%d", num[n][i]);
                          ^
0_0_32847227_3598.cpp:67:14: error: 'printf' was not declared in this scope
   printf("\n");
              ^


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-09-28 12:20:55, Gzip enabled