03 2019 档案
Solidity: ParserError: Expected pragma, import directive or contract/interface/library definition.
摘要:第一行忘记加分号 阅读全文
posted @ 2019-03-31 15:11 孤笑 阅读(993) 评论(0) 推荐(0)
HDU1262-寻找素数对
摘要:1 //#include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 int zhishu(int x){ 9 if(x==2||x==3){ 10 return 1; 11 } 12 else{ 13 in... 阅读全文
posted @ 2019-03-21 14:48 孤笑 阅读(348) 评论(0) 推荐(0)
HDU1263水果
摘要:1 //#include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 int main(){ 8 int N; 9 scanf("%d",&N); 10 while(N--){ 11 int M; 12 scanf("%d",&M... 阅读全文
posted @ 2019-03-21 14:10 孤笑 阅读(115) 评论(0) 推荐(0)
冒泡排序 cpp实现
摘要:#include using namespace std; void Bubblesort(int a[],int n){ for(int i=0;ia[j+1]){ int temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; flag=1... 阅读全文
posted @ 2019-03-18 15:09 孤笑 阅读(643) 评论(0) 推荐(0)