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_15278272_25036.cpp:4:11: error: '::main' must return 'int'
 void main() {
           ^
0_0_15278272_25036.cpp: In function 'int main()':
0_0_15278272_25036.cpp:5:5: error: '_int64' was not declared in this scope
     _int64 p[3], i, j, *seq = new _int64[1000000000];
     ^
0_0_15278272_25036.cpp:6:12: error: 'seq' was not declared in this scope
     memset(seq, 0, 8000000000];
            ^
0_0_15278272_25036.cpp:6:30: error: expected ')' before ']' token
     memset(seq, 0, 8000000000];
                              ^
0_0_15278272_25036.cpp:7:15: error: 'p' was not declared in this scope
     scanf("", p, p+ 1, p + 2, &i);
               ^
0_0_15278272_25036.cpp:7:32: error: 'i' was not declared in this scope
     scanf("", p, p+ 1, p + 2, &i);
                                ^
0_0_15278272_25036.cpp:9:9: error: 'j' was not declared in this scope
     for(j = 1; j < 8000000000; ++j) {
         ^
0_0_15278272_25036.cpp:17:15: error: type '<type error>' argument given to 'delete', expected pointer
     delete [] seq;
               ^


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-16 18:08:44, Gzip enabled