0_0_29923052_16787.cpp:12:1: error: '_int64' does not name a type
_int64 a[605];
^
0_0_29923052_16787.cpp:14:1: error: '_int64' does not name a type
_int64 cmp(_int64 x, _int64 y) {
^
0_0_29923052_16787.cpp: In function 'int main()':
0_0_29923052_16787.cpp:20:2: error: '_int64' was not declared in this scope
_int64 L, N;
^
0_0_29923052_16787.cpp:21:31: error: 'L' was not declared in this scope
while (scanf("%I64d %I64d", &L, &N)) {
^
0_0_29923052_16787.cpp:21:35: error: 'N' was not declared in this scope
while (scanf("%I64d %I64d", &L, &N)) {
^
0_0_29923052_16787.cpp:22:15: error: expected ';' before 'i'
for (_int64 i = 0; i < N; i++) {
^
0_0_29923052_16787.cpp:22:22: error: 'i' was not declared in this scope
for (_int64 i = 0; i < N; i++) {
^
0_0_29923052_16787.cpp:23:20: error: 'a' was not declared in this scope
scanf("%I64d", &a[i]);
^
0_0_29923052_16787.cpp:25:10: error: expected ';' before 'res'
_int64 res = 0, len = 0;
^
0_0_29923052_16787.cpp:26:8: error: 'a' was not declared in this scope
sort(a, a + N, cmp);
^
0_0_29923052_16787.cpp:26:18: error: 'cmp' was not declared in this scope
sort(a, a + N, cmp);
^
0_0_29923052_16787.cpp:27:15: error: expected ';' before 'i'
for (_int64 i = 0; i < N; i++) {
^
0_0_29923052_16787.cpp:27:22: error: 'i' was not declared in this scope
for (_int64 i = 0; i < N; i++) {
^
0_0_29923052_16787.cpp:28:8: error: 'len' was not declared in this scope
if (len < L) {
^
0_0_29923052_16787.cpp:30:5: error: 'res' was not declared in this scope
res++;
^
0_0_29923052_16787.cpp:35:7: error: 'len' was not declared in this scope
if (len < L)
^
0_0_29923052_16787.cpp:38:22: error: 'res' was not declared in this scope
printf("%I64d\n", res);
^
|