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_39498976_18787.cpp:21:10: error: stray '#' in program
   21 |         }#include<bits/stdc++.h>
      |          ^
0_0_39498976_18787.cpp: In function 'int main()':
0_0_39498976_18787.cpp:21:19: error: 'bits' was not declared in this scope
   21 |         }#include<bits/stdc++.h>
      |                   ^~~~
0_0_39498976_18787.cpp:21:24: error: 'stdc' was not declared in this scope; did you mean 'std'?
   21 |         }#include<bits/stdc++.h>
      |                        ^~~~
      |                        std
0_0_39498976_18787.cpp:21:11: error: 'include' was not declared in this scope
   21 |         }#include<bits/stdc++.h>
      |           ^~~~~~~
0_0_39498976_18787.cpp:22:1: error: expected primary-expression before 'using'
   22 | using namespace std;
      | ^~~~~
0_0_39498976_18787.cpp:26:11: error: a function-definition is not allowed here before '{' token
   26 | int main(){
      |           ^
0_0_39498976_18787.cpp:89:9: error: expected '}' before 'else'
   89 |         else{
      |         ^~~~
0_0_39498976_18787.cpp:17:14: note: to match this '{'
   17 |     if(tg==0){
      |              ^
0_0_39498976_18787.cpp:115:5: error: 'else' without a previous 'if'
  115 |     else if(isbad){
      |     ^~~~
0_0_39498976_18787.cpp: At global scope:
0_0_39498976_18787.cpp:133:1: error: expected unqualified-id before 'return'
  133 | return 0;
      | ^~~~~~
0_0_39498976_18787.cpp:134:1: error: expected declaration before '}' token
  134 | }
      | ^


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-14 12:44:54, Gzip enabled