0_0_21356841_18427.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^
0_0_21356841_18427.cpp: In function 'int main()':
0_0_21356841_18427.cpp:20:26: error: 'scanf' was not declared in this scope
while (scanf("%d", &N) != EOF)
^
0_0_21356841_18427.cpp:20:31: error: 'EOF' was not declared in this scope
while (scanf("%d", &N) != EOF)
^
0_0_21356841_18427.cpp:26:24: error: 'sort' was not declared in this scope
sort(B+1, B+N+1);
^
0_0_21356841_18427.cpp:40:30: error: 'printf' was not declared in this scope
printf("%I64d\n", ans);
^
|