锘??xml version="1.0" encoding="utf-8" standalone="yes"?>潮喷大喷水系列无码久久精品 ,无码AV中文字幕久久专区,99国产欧美精品久久久蜜芽http://www.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 - 楦藉發(fā)鍘熺悊http://www.shnenglu.com/y346491470/articles/168273.htmly @ The Angry Teletubbiesy @ The Angry TeletubbiesSun, 18 Mar 2012 14:45:00 GMThttp://www.shnenglu.com/y346491470/articles/168273.htmlhttp://www.shnenglu.com/y346491470/comments/168273.htmlhttp://www.shnenglu.com/y346491470/articles/168273.html#Feedback0http://www.shnenglu.com/y346491470/comments/commentRss/168273.htmlhttp://www.shnenglu.com/y346491470/services/trackbacks/168273.html
銆愰瑙c戯細(xì)楦藉發(fā)鍘熺悊

銆愪唬鐮併戯細(xì)
 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 鍙戣〃璇勮
]]>
91精品国产高清久久久久久io| 久久无码人妻一区二区三区| 国产成人精品久久| 精品无码人妻久久久久久| 亚洲精品NV久久久久久久久久| 久久经典免费视频| AAA级久久久精品无码片| 狠狠人妻久久久久久综合蜜桃| 亚洲国产成人精品无码久久久久久综合 | 欧美精品丝袜久久久中文字幕 | 久久人人爽人人爽人人片AV高清| 久久精品国产清自在天天线| 国产一区二区三区久久| 欧美日韩精品久久久久| 久久精品国产亚洲AV麻豆网站| 久久精品国产亚洲综合色| 久久这里有精品| 国产2021久久精品| 久久国产精品无码HDAV| 亚洲国产精品无码久久九九| 99精品久久精品一区二区| 亚洲精品视频久久久| 欧美伊香蕉久久综合类网站| 7777精品伊人久久久大香线蕉| 国产免费久久精品丫丫| 精品永久久福利一区二区| 欧美亚洲国产精品久久| 激情综合色综合久久综合| a级成人毛片久久| AAA级久久久精品无码片| 久久精品国产亚洲AV无码娇色| 久久精品国产亚洲αv忘忧草 | 久久这里有精品视频| 国产99久久久国产精免费| 国产午夜免费高清久久影院| 日韩久久久久久中文人妻| 久久精品无码一区二区WWW| 欧美国产精品久久高清| 无码人妻久久一区二区三区蜜桃| 久久精品国产亚洲7777| 久久精品国产99久久丝袜|