NWU_ACM

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年3月7日

摘要: 1 #include <iostream> 2 #include <algorithm> 3 #include <cstdio> 4 using namespace std; 5 int fun(int x[], int N) 6 { 7 int t = 0; 8 if (N == 1) t = x 阅读全文
posted @ 2017-03-07 20:39 NWU_ACM 阅读(138) 评论(0) 推荐(0) 编辑

摘要: 1 #include<iostream> 2 #include<algorithm> 3 #include<string.h> 4 #include<math.h> 5 #define ll long long 6 #define IO ios_base::sync_with_stdio(0);ci 阅读全文
posted @ 2017-03-07 20:03 NWU_ACM 阅读(96) 评论(0) 推荐(0) 编辑

摘要: #include #include using namespace std; int main() { int x,y,w,n; while(scanf("%d%d%d%d",&x,&y,&w,&n)!=-1) { if(n==1) { puts("0"); continue; ... 阅读全文
posted @ 2017-03-07 13:07 NWU_ACM 阅读(109) 评论(0) 推荐(0) 编辑