摘要:
P8 Visible Lattice Points Time Limit:1000ms, Memory Limit:65536KB Description A lattice point (x, y) in the first quadrant (x and y are integers great 阅读全文
摘要:
#include using namespace std; int main() { int a[10]={1,2,3,4,5,21,34,45,115,4121}; int f,tail=0,top=9,mid=(top+tail)/2; int n; cout>n; while(1) { if(n==a[mid]) ... 阅读全文