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_33917968_18746.cpp:139:10: error: stray '#' in program
         {#include<iostream>
          ^
0_0_33917968_18746.cpp: In function 'int main()':
0_0_33917968_18746.cpp:139:11: error: 'include' was not declared in this scope
         {#include<iostream>
           ^
0_0_33917968_18746.cpp:139:27: error: expected primary-expression before '>' token
         {#include<iostream>
                           ^
0_0_33917968_18746.cpp:154:1: error: expected primary-expression before 'using'
 using namespace std;
 ^
0_0_33917968_18746.cpp:171:19: error: a function-definition is not allowed here before '{' token
 ll gcd(ll a,ll b) { return b?gcd(b,a%b):a;}
                   ^
0_0_33917968_18746.cpp:188:1: error: a function-definition is not allowed here before '{' token
 {
 ^
0_0_33917968_18746.cpp:195:1: error: a function-definition is not allowed here before '{' token
 {
 ^
0_0_33917968_18746.cpp:297:1: error: expected '}' at end of input
 }
 ^
0_0_33917968_18746.cpp:297:1: error: expected '}' at end of input
0_0_33917968_18746.cpp:297:1: error: expected '}' at end of input


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 07:49:45, Gzip enabled