锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产情侣久久久久aⅴ免费,久久精品国产亚洲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 - 楦藉發鍘熺悊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戯細楦藉發鍘熺悊

銆愪唬鐮併戯細
 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 鍙戣〃璇勮
]]>
国产精品美女久久久m| 中文精品久久久久人妻| 亚洲中文字幕久久精品无码APP | 久久久久久综合一区中文字幕| 国产精品久久久久jk制服| 色综合久久天天综合| 亚洲国产成人久久综合一区77| 男女久久久国产一区二区三区| 99久久精品费精品国产一区二区 | 久久久久亚洲AV成人网人人网站| 久久午夜免费视频| 国产精品久久久久jk制服| 欧美日韩精品久久久免费观看| 天天躁日日躁狠狠久久| 精品久久久久久久久久中文字幕| 一级女性全黄久久生活片免费| 国产精品99久久精品| 久久久亚洲欧洲日产国码是AV| 亚洲狠狠久久综合一区77777| 久久久久久久综合狠狠综合| 日本道色综合久久影院| 99久久精品国产一区二区| 久久青青草原精品国产不卡| 国产美女久久精品香蕉69| 久久人与动人物a级毛片| 久久久久亚洲AV无码去区首| 久久综合欧美成人| 久久精品国产亚洲av麻豆色欲| 亚洲乱码日产精品a级毛片久久 | 无码乱码观看精品久久| 人人狠狠综合久久亚洲88| 久久国产精品-久久精品| 久久综合久久自在自线精品自 | 91麻精品国产91久久久久 | 国产精品9999久久久久| 久久棈精品久久久久久噜噜| 久久久av波多野一区二区| 亚洲精品乱码久久久久久| 亚洲∧v久久久无码精品| 久久这里只有精品18| 狠狠狠色丁香婷婷综合久久五月 |