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_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_39780097_18427.cpp:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
0_0_39780097_18427.cpp: In function 'int main()':
0_0_39780097_18427.cpp:22:12: error: 'scanf' was not declared in this scope
   22 |     while(~scanf("%d",&n)){
      |            ^~~~~
0_0_39780097_18427.cpp:23:9: error: 'memset' was not declared in this scope
   23 |         memset(tree,0,sizeof(tree));
      |         ^~~~~~
0_0_39780097_18427.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_39780097_18427.cpp:30:21: error: 'printf' was not declared in this scope
   30 |             if(i!=n)printf("%d",sum(i));
      |                     ^~~~~~
0_0_39780097_18427.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
  +++ |+#include <cstdio>
    1 | include<bits/stdc++.h>
0_0_39780097_18427.cpp:31:21: error: 'printf' was not declared in this scope
   31 |             else    printf("%d\n",sum(i));
      |                     ^~~~~~
0_0_39780097_18427.cpp:31:21: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?


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-30 00:07:04, Gzip enabled