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_35187536_23403.cpp:21:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
0_0_35187536_23403.cpp:21:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^
0_0_35187536_23403.cpp:25:5: error: redefinition of 'int t'
 int t, n, a[49];
     ^
0_0_35187536_23403.cpp:5:5: note: 'int t' previously declared here
 int t, n, a[49];
     ^
0_0_35187536_23403.cpp:25:8: error: redefinition of 'int n'
 int t, n, a[49];
        ^
0_0_35187536_23403.cpp:5:8: note: 'int n' previously declared here
 int t, n, a[49];
        ^
0_0_35187536_23403.cpp:25:15: error: redefinition of 'int a [49]'
 int t, n, a[49];
               ^
0_0_35187536_23403.cpp:5:11: note: 'int a [49]' previously declared here
 int t, n, a[49];
           ^
0_0_35187536_23403.cpp: In function 'int main()':
0_0_35187536_23403.cpp:27:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_35187536_23403.cpp:7:5: note: 'int main()' previously defined here
 int main() {
     ^


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-23 04:52:39, Gzip enabled