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_2138227_25754.cpp:35: error: conflicting declaration 'int n'
0_0_2138227_25754.cpp:4: error: 'n' has a previous declaration as `long long int n'
0_0_2138227_25754.cpp:35: error: type mismatch with previous external decl of `int n'
0_0_2138227_25754.cpp:4: error: previous external decl of `long long int n'
0_0_2138227_25754.cpp:35: error: declaration of `int n'
0_0_2138227_25754.cpp:4: error: conflicts with previous declaration `long long int n'
0_0_2138227_25754.cpp: In function `int main()':
0_0_2138227_25754.cpp:56: error: redefinition of `int main()'
0_0_2138227_25754.cpp:22: error: `int main()' previously defined here


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 03:57:22, Gzip enabled