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_39141666_7071.cpp:1:10: error: 'bits' was not declared in this scope
    1 | include <bits/stdc++.h>
      |          ^~~~
0_0_39141666_7071.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include <bits/stdc++.h>
      |               ^~~~
      |               std
0_0_39141666_7071.cpp:1:10: error: 'bits' was not declared in this scope
    1 | include <bits/stdc++.h>
      |          ^~~~
0_0_39141666_7071.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include <bits/stdc++.h>
      |               ^~~~
      |               std
0_0_39141666_7071.cpp:1:10: error: 'bits' was not declared in this scope
    1 | include <bits/stdc++.h>
      |          ^~~~
0_0_39141666_7071.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include <bits/stdc++.h>
      |               ^~~~
      |               std
0_0_39141666_7071.cpp:1:10: error: 'bits' was not declared in this scope
    1 | include <bits/stdc++.h>
      |          ^~~~
0_0_39141666_7071.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include <bits/stdc++.h>
      |               ^~~~
      |               std
0_0_39141666_7071.cpp:1:10: error: 'bits' was not declared in this scope
    1 | include <bits/stdc++.h>
      |          ^~~~
0_0_39141666_7071.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include <bits/stdc++.h>
      |               ^~~~
      |               std
0_0_39141666_7071.cpp:1:10: error: 'bits' was not declared in this scope
    1 | include <bits/stdc++.h>
      |          ^~~~
0_0_39141666_7071.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include <bits/stdc++.h>
      |               ^~~~
      |               std
0_0_39141666_7071.cpp:1:10: error: 'bits' was not declared in this scope
    1 | include <bits/stdc++.h>
      |          ^~~~
0_0_39141666_7071.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include <bits/stdc++.h>
      |               ^~~~
      |               std
0_0_39141666_7071.cpp:1:10: error: 'bits' was not declared in this scope
    1 | include <bits/stdc++.h>
      |          ^~~~
0_0_39141666_7071.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include <bits/stdc++.h>
      |               ^~~~
      |               std
0_0_39141666_7071.cpp:1:10: error: 'bits' was not declared in this scope
    1 | include <bits/stdc++.h>
      |          ^~~~
0_0_39141666_7071.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include <bits/stdc++.h>
      |               ^~~~
      |               std
0_0_39141666_7071.cpp:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
0_0_39141666_7071.cpp: In function 'int main()':
0_0_39141666_7071.cpp:9:15: error: 'scanf' was not declared in this scope
    9 |         while(scanf("%d",&n)!=EOF){
      |               ^~~~~
0_0_39141666_7071.cpp:9:31: error: 'EOF' was not declared in this scope
    9 |         while(scanf("%d",&n)!=EOF){
      |                               ^~~
0_0_39141666_7071.cpp:1:1: note: 'EOF' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
  +++ |+#include <cstdio>
    1 | include <bits/stdc++.h>
0_0_39141666_7071.cpp:10:17: error: 'memset' was not declared in this scope
   10 |                 memset (a,0,sizeof(a));
      |                 ^~~~~~
0_0_39141666_7071.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_39141666_7071.cpp:12:25: error: 'cin' was not declared in this scope
   12 |                         cin>>a[i];
      |                         ^~~
0_0_39141666_7071.cpp:14:17: error: 'sort' was not declared in this scope; did you mean 'short'?
   14 |                 sort(a+1,a+n+1,cmp);
      |                 ^~~~
      |                 short
0_0_39141666_7071.cpp:20:49: error: 'cout' was not declared in this scope
   20 |                                                 cout<<a[i]<<" "<<a[j]<<" "<<a[k];
      |                                                 ^~~~
0_0_39141666_7071.cpp:30:26: error: 'cout' was not declared in this scope
   30 |                 if(f==1) cout<<-1;
      |                          ^~~~


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-23 03:02:00, Gzip enabled