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_14483101_28218.cpp:6:29: error: 'malloc' was not declared in this scope
 char *p = (char*)malloc(size) + size;
                             ^
0_0_14483101_28218.cpp:7:28: error: expected ')' before '::' token
 __asm__("movl %0, %%esp\n" :: "r"(p));
                            ^
0_0_14483101_28218.cpp:11:8: error: expected constructor, destructor, or type conversion before '(' token
 freopen("a.in", "r", stdin);
        ^
0_0_14483101_28218.cpp:12:8: error: expected constructor, destructor, or type conversion before '(' token
 freopen("a.out", "w", stdout);
        ^
0_0_14483101_28218.cpp:20:6: error: 'ios_base' in namespace 'std' does not name a type
 std::ios_base::sync_with_stdio(false);
      ^
0_0_14483101_28218.cpp:26:1: error: 'Scanner' does not name a type
 Scanner cin = new Scanner(System.in);
 ^


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-11-26 11:50:22, Gzip enabled