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_35632732_28394.cpp:10:3: error: stray '#' in program
  }#include <bits/stdc++.h> 
   ^
0_0_35632732_28394.cpp: In function 'int f(int)':
0_0_35632732_28394.cpp:10:4: error: 'include' was not declared in this scope
  }#include <bits/stdc++.h> 
    ^
0_0_35632732_28394.cpp:10:13: error: 'bits' was not declared in this scope
  }#include <bits/stdc++.h> 
             ^
0_0_35632732_28394.cpp:10:18: error: 'stdc' was not declared in this scope
  }#include <bits/stdc++.h> 
                  ^
0_0_35632732_28394.cpp:11:1: error: expected primary-expression before 'using'
 using namespace std;
 ^
0_0_35632732_28394.cpp:12:13: error: a function-definition is not allowed here before '{' token
 int f(int n){
             ^
0_0_35632732_28394.cpp:19:11: error: a function-definition is not allowed here before '{' token
 int main(){
           ^
0_0_35632732_28394.cpp:42:1: error: expected '}' at end of input
 }
 ^


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-17 11:52:20, Gzip enabled