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_39591158_19885.cpp:10:20: error: stray '#' in program
   10 | bool ok(double md){#include <bits/stdc++.h>
      |                    ^
0_0_39591158_19885.cpp: In function 'bool ok(double)':
0_0_39591158_19885.cpp:10:30: error: 'bits' was not declared in this scope
   10 | bool ok(double md){#include <bits/stdc++.h>
      |                              ^~~~
0_0_39591158_19885.cpp:10:35: error: 'stdc' was not declared in this scope; did you mean 'std'?
   10 | bool ok(double md){#include <bits/stdc++.h>
      |                                   ^~~~
      |                                   std
0_0_39591158_19885.cpp:10:21: error: 'include' was not declared in this scope
   10 | bool ok(double md){#include <bits/stdc++.h>
      |                     ^~~~~~~
0_0_39591158_19885.cpp:12:1: error: expected primary-expression before 'using'
   12 | using namespace std;
      | ^~~~~
0_0_39591158_19885.cpp:19:19: error: a function-definition is not allowed here before '{' token
   19 | bool ok(double md){
      |                   ^
0_0_39591158_19885.cpp:33:13: error: a function-definition is not allowed here before '{' token
   33 | void solve(){
      |             ^
0_0_39591158_19885.cpp:47:11: error: a function-definition is not allowed here before '{' token
   47 | 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-26 02:55:36, Gzip enabled