锘??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美成年人网站,亚洲综合首页,亚洲高清视频在线http://m.shnenglu.com/y346491470/category/18865.html涓烘ⅵ鎯寵屽鏂楋紒zh-cnSun, 18 Mar 2012 15:17:26 GMTSun, 18 Mar 2012 15:17:26 GMT60poj 3370 Halloween treats - 楦藉發鍘熺悊http://m.shnenglu.com/y346491470/articles/168273.htmly @ The Angry Teletubbiesy @ The Angry TeletubbiesSun, 18 Mar 2012 14:45:00 GMThttp://m.shnenglu.com/y346491470/articles/168273.htmlhttp://m.shnenglu.com/y346491470/comments/168273.htmlhttp://m.shnenglu.com/y346491470/articles/168273.html#Feedback0http://m.shnenglu.com/y346491470/comments/commentRss/168273.htmlhttp://m.shnenglu.com/y346491470/services/trackbacks/168273.html
銆愰瑙c戯細楦藉發鍘熺悊

銆愪唬鐮併戯細
 1 #include "iostream"
 2 #include "cstdio"
 3 #include "cstring"
 4 #include "algorithm"
 5 #include "vector"
 6 #include "queue"
 7 #include "cmath"
 8 #include "string"
 9 #include "cctype"
10 #include "map"
11 #include "iomanip"
12 using namespace std;
13 #define pb push_back
14 #define mp make_pair
15 #define fi first
16 #define se second
17 #define lc(x) (x << 1)
18 #define rc(x) (x << 1 | 1)
19 #define lowbit(x) (x & (-x))
20 #define ll long long
21 #define maxn 100500
22 int val[maxn];
23 int sum[maxn], idx[maxn];
24 int n, c;
25 
26 int getint(){
27     char c = getchar();
28     int t = 0;
29     while (c < '0' || c > '9') {
30         c = getchar();
31     }
32     while (c >= '0' && c <= '9') {
33         t = t * 10 + c - '0';
34         c = getchar();
35     }
36     return t;
37 }
38 
39 int main() {
40     while(~scanf("%d%d", &c, &n)) {
41         if(!c && !n) break;
42         sum[0] = 0;
43         int l, r;
44         for(int i = 0; i < maxn; i++) idx[i] = -1;
45         for(int i = 1; i <= n; i++) {
46             val[i] = getint();
47             sum[i] = (sum[i-1] + val[i]) % c;
48             if(idx[sum[i]] == -1) idx[sum[i]] = i;
49             else l = idx[sum[i]], r = i;
50         }
51         if(idx[0] != -1) {
52             for(int i = 1; i <= idx[0]; i++)
53                 printf("%d ", i);
54             printf("\n");
55         } else if(l != - 1) {
56             for(int i = l + 1; i <= r; i++) 
57                 printf("%d ", i);
58             printf("\n");
59         } else printf("no sweets\n");
60         
61     }
62     return 0;
63 }
64 


y @ The Angry Teletubbies 2012-03-18 22:45 鍙戣〃璇勮
]]>
亚洲国产精品无码久久久秋霞2 | 久久国产精品视频| 超级碰久久免费公开视频| 久久久久亚洲精品男人的天堂| 精品国产日韩久久亚洲| 久久噜噜电影你懂的| 精品国产乱码久久久久软件| 久久精品国产99国产精偷| 久久综合视频网| 777久久精品一区二区三区无码| 深夜久久AAAAA级毛片免费看| 97久久超碰国产精品旧版 | 久久久精品国产sm调教网站| 久久国产精品国语对白| 久久青草国产手机看片福利盒子| 精品久久久久久久国产潘金莲| 久久久青草青青亚洲国产免观| 亚洲精品美女久久久久99| 久久久久国产一级毛片高清板| 久久精品人人槡人妻人人玩AV| 人妻系列无码专区久久五月天| 一本久久久久久久| 97久久精品午夜一区二区| 久久亚洲春色中文字幕久久久| 狠狠色丁香久久婷婷综合_中| 97久久精品人人澡人人爽| 中文字幕亚洲综合久久2| 久久国产热精品波多野结衣AV| 无码人妻久久一区二区三区免费丨| 久久精品综合网| 久久亚洲精品无码aⅴ大香| 国产精品乱码久久久久久软件| 亚洲国产成人精品女人久久久 | 久久r热这里有精品视频| 好久久免费视频高清| 久久九九有精品国产23百花影院| 久久久噜噜噜久久中文福利| 精品久久久噜噜噜久久久| 久久99精品久久久久久久久久| 韩国免费A级毛片久久| 国产V综合V亚洲欧美久久|