0_0_14683980_20615.cpp:1:9: error: 'MAX' was not declared in this scope
int san[MAX];
^
0_0_14683980_20615.cpp: In function 'void dabiao()':
0_0_14683980_20615.cpp:6:9: error: 'san' was not declared in this scope
san[i]=i*(i+1)/2;
^
0_0_14683980_20615.cpp: In function 'int main()':
0_0_14683980_20615.cpp:12:18: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_14683980_20615.cpp:20:33: error: 'san' was not declared in this scope
int pos=lower_bound(san,san+xcount,k/6)-san;
^
0_0_14683980_20615.cpp:20:51: error: 'lower_bound' was not declared in this scope
int pos=lower_bound(san,san+xcount,k/6)-san;
^
0_0_14683980_20615.cpp:22:29: error: 'printf' was not declared in this scope
printf("1\n");
^
0_0_14683980_20615.cpp:30:37: error: 'san' was not declared in this scope
int pos=lower_bound(san,san+xcount,k/6-san[i])-san;
^
0_0_14683980_20615.cpp:30:62: error: 'lower_bound' was not declared in this scope
int pos=lower_bound(san,san+xcount,k/6-san[i])-san;
^
0_0_14683980_20615.cpp:33:33: error: 'printf' was not declared in this scope
printf("2\n");
^
0_0_14683980_20615.cpp:42:36: error: 'printf' was not declared in this scope
printf("%d\n",i);
^
|