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_39487924_6617.cpp:1:1: error: stray '\241' in program
    1 | <a1><a4>#include <bits/stdc++.h>
      | ^~~~
0_0_39487924_6617.cpp:1:2: error: stray '\244' in program
    1 | <a1><a4>#include <bits/stdc++.h>
      |     ^~~~
0_0_39487924_6617.cpp:1:3: error: stray '#' in program
    1 | ,#include <bits/stdc++.h>
      |   ^
0_0_39487924_6617.cpp:1:13: error: 'bits' was not declared in this scope
    1 | ,#include <bits/stdc++.h>
      |             ^~~~
0_0_39487924_6617.cpp:1:18: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | ,#include <bits/stdc++.h>
      |                  ^~~~
      |                  std
0_0_39487924_6617.cpp:1:13: error: 'bits' was not declared in this scope
    1 | ,#include <bits/stdc++.h>
      |             ^~~~
0_0_39487924_6617.cpp:1:18: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | ,#include <bits/stdc++.h>
      |                  ^~~~
      |                  std
0_0_39487924_6617.cpp:1:13: error: 'bits' was not declared in this scope
    1 | ,#include <bits/stdc++.h>
      |             ^~~~
0_0_39487924_6617.cpp:1:18: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | ,#include <bits/stdc++.h>
      |                  ^~~~
      |                  std
0_0_39487924_6617.cpp:1:13: error: 'bits' was not declared in this scope
    1 | ,#include <bits/stdc++.h>
      |             ^~~~
0_0_39487924_6617.cpp:1:18: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | ,#include <bits/stdc++.h>
      |                  ^~~~
      |                  std
0_0_39487924_6617.cpp:1:13: error: 'bits' was not declared in this scope
    1 | ,#include <bits/stdc++.h>
      |             ^~~~
0_0_39487924_6617.cpp:1:18: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | ,#include <bits/stdc++.h>
      |                  ^~~~
      |                  std
0_0_39487924_6617.cpp:1:13: error: 'bits' was not declared in this scope
    1 | ,#include <bits/stdc++.h>
      |             ^~~~
0_0_39487924_6617.cpp:1:18: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | ,#include <bits/stdc++.h>
      |                  ^~~~
      |                  std
0_0_39487924_6617.cpp:1:13: error: 'bits' was not declared in this scope
    1 | ,#include <bits/stdc++.h>
      |             ^~~~
0_0_39487924_6617.cpp:1:18: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | ,#include <bits/stdc++.h>
      |                  ^~~~
      |                  std
0_0_39487924_6617.cpp:1:13: error: 'bits' was not declared in this scope
    1 | ,#include <bits/stdc++.h>
      |             ^~~~
0_0_39487924_6617.cpp:1:18: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | ,#include <bits/stdc++.h>
      |                  ^~~~
      |                  std
0_0_39487924_6617.cpp:1:13: error: 'bits' was not declared in this scope
    1 | ,#include <bits/stdc++.h>
      |             ^~~~
0_0_39487924_6617.cpp:1:18: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | ,#include <bits/stdc++.h>
      |                  ^~~~
      |                  std
0_0_39487924_6617.cpp:1:4: error: 'include' does not name a type
    1 | ,#include <bits/stdc++.h>
      |    ^~~~~~~
0_0_39487924_6617.cpp: In function 'int main()':
0_0_39487924_6617.cpp:9:9: error: 'cin' was not declared in this scope
    9 |         cin>>T;
      |         ^~~
0_0_39487924_6617.cpp:12:17: error: 'memset' was not declared in this scope
   12 |                 memset(a,0,sizeof(a));
      |                 ^~~~~~
0_0_39487924_6617.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | ,#include <bits/stdc++.h>
0_0_39487924_6617.cpp:14:25: error: 'scanf' was not declared in this scope
   14 |                         scanf("%lld",&a[i]);
      |                         ^~~~~
0_0_39487924_6617.cpp:15:17: error: 'sort' was not declared in this scope; did you mean 'short'?
   15 |                 sort(a+2,a+n);
      |                 ^~~~
      |                 short
0_0_39487924_6617.cpp:17:57: error: 'cout' was not declared in this scope
   17 |                         if(a[4]>=l||a[1]-a[2]<=d)       cout<<"No"<<endl;
      |                                                         ^~~~
0_0_39487924_6617.cpp:17:69: error: 'endl' was not declared in this scope
   17 |                         if(a[4]>=l||a[1]-a[2]<=d)       cout<<"No"<<endl;
      |                                                                     ^~~~
0_0_39487924_6617.cpp:18:33: error: 'cout' was not declared in this scope
   18 |                         else    cout<<"Yes"<<endl;
      |                                 ^~~~
0_0_39487924_6617.cpp:18:46: error: 'endl' was not declared in this scope
   18 |                         else    cout<<"Yes"<<endl;
      |                                              ^~~~
0_0_39487924_6617.cpp:21:57: error: 'cout' was not declared in this scope
   21 |                                 if(a[3]<l&&a[n]-a[1]>d) cout<<"Yes"<<endl;
      |                                                         ^~~~
0_0_39487924_6617.cpp:21:70: error: 'endl' was not declared in this scope
   21 |                                 if(a[3]<l&&a[n]-a[1]>d) cout<<"Yes"<<endl;
      |                                                                      ^~~~
0_0_39487924_6617.cpp:22:41: error: 'cout' was not declared in this scope
   22 |                                 else    cout<<"No"<<endl;
      |                                         ^~~~
0_0_39487924_6617.cpp:22:53: error: 'endl' was not declared in this scope
   22 |                                 else    cout<<"No"<<endl;
      |                                                     ^~~~
0_0_39487924_6617.cpp:24:57: error: 'cout' was not declared in this scope
   24 |                                 if(a[3]<l&&a[n]-a[2]>d) cout<<"Yes"<<endl;
      |                                                         ^~~~
0_0_39487924_6617.cpp:24:70: error: 'endl' was not declared in this scope
   24 |                                 if(a[3]<l&&a[n]-a[2]>d) cout<<"Yes"<<endl;
      |                                                                      ^~~~
0_0_39487924_6617.cpp:25:41: error: 'cout' was not declared in this scope
   25 |                                 else    cout<<"No"<<endl;
      |                                         ^~~~
0_0_39487924_6617.cpp:25:53: error: 'endl' was not declared in this scope
   25 |                                 else    cout<<"No"<<endl;
      |                                                     ^~~~


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-10 07:04:11, Gzip enabled