虾米播播随机顺序播放器生成器
work.cpp
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
#include<iostream> #include<cstdio> #include<cstdlib> #include<algorithm> #include<ctime> using namespace std; char c; int tot,a[501],used; bool mark[501]; void work() { c=getchar(); while(c!='.') { scanf("%d",&a[tot++]); c=getchar(); } sort(a,a+tot); for(int i=1;i<tot;i++) if(a[i]==a[i-1])mark[i]=1; while(used<=50) { int t=rand()%tot; if(!mark[t]){printf("%d,",a[t]);used++;} mark[t]=1; } } int main() { //freopen("stdin.in","r",stdin); //freopen("stdout.out","w",stdout); srand(time(0)); printf("<embed\n"); printf("src=\"http://www.xiami.com/widget/34079201_"); work(); printf("_235_346_dddddd_FCFCFC_0/multiPlayer.swf\" type=\"application/x-shockwave-flash\" width=\"235\" height=\"346\" wmode=\"opaque\"></embed>"); return 0; } |
stdin.in(rock)
1 |
3409204,1769089294,2092232,1718419,1279629,1064534,2093526,1769691350,1481023,2137816,1769691340,2331352,3465827,2092205,2092323,2092321,1769691341,1769301688,1769691345,3473233,2092325,2331341,3473234,2098665,1926218,2067137,2067134,2331343,2331334,2331347,2331355,1769658957,1279533,1897482,1769502715,1769691352,3206417,1632702,1770848434,1768937279,1483962,1483963,1482036,1481203,1482037,3605414,1769691338,1481023,1481026,1769691345,1769691350,1483970,1483972,1770029397,1482420,1770288720,1770029398,1480907,1481514,3449053,1482039,3605408,2342423,2342433,1768910452,1768910448,1769057884,1769057883,2831635,1769756734,2178176,2178178,3481116,1768941280,1770106450,1770106447,1770136896,1770180132,3433667,3433675,1769405856,1769405858,3491125,3491108,1770060630,1770060628,3645298,3645307,1770195094,1770195100,2703952,2703945,2117685,2117756,3550096,3550103,2021118,2021120,1769758678,1769758679,1769354134,3475262,1769242974,2043486,1769555990,2106388,1769173234,1769173241,1770014481,1770014488,2342434,2342437. |
stdin.in(loli)
1 |
1769555663,1769555672,1769211817,1769606941,1769555660,1769455590,1769443162,1769443161,1769450669,1769555657,1769623864,1769361185,1769450711,1769450673,1769629705,1769318212,1769555671,1769555677,1769555655,1769555651,1769450667,1769555648,1769555652,1769555658,1769555659,1769450701,1769928144,1769928146,1769450678,1769679242,1769605433,1769450702,1769450699,1770102834,1770102830,1769555669,1769609450,1769363208,1769363207,1769465964,1769471349,1769340552,1769700900,1769420865,1769801511,1769378496,1769338661,1770103818,1769356072,1769366602,1769342069,1769674362,1769670711,1769674374,1769670722,1769333066,1769333069,1769342071,1769674369,1769342082,1769391848,1769142107,1769363209,1769884155,1769623862,1769606941,1769606945,1769366612,1769958871,1769388544,1769356072,1769718269,1769441562,1769340552,1769950390,1770076382,1769958878,1769928152,1769569032,1769950463,1770082556,1769886336,1769956131,1769555660,1769726054,1769951303,1769345412,1770731300,1770699632,1769345412,1769555660,1769623862,1769555663,1769211577,1769211609,1769606941,1769450711,1769450669,1769307549,1769555654,1769211646,1769623864,1769450701,1769555655,1769606945,1769555646,1769211817,1769371973,1769555672,1769307553,1769307550,1769368724,1769361185,1769371975,1769609427,1769371950,1769609447,1769211687,1769629704,1769629675,1769555659,1769555670,1769555673,1769555674,1769555681,1769606950,1769606949,1769606941,1769606929,1769606936,1769606957,1769609431,1769609433,1769623827,1769623835,1769623847,1769623851,1769623862,1769623868,1769629709,1769629713,1769555647,1769555651,1769555653,1769555654,1769555655,1769555658,1769555663,1769555661,1769555659,1769629708,1769450703,1769450706,1769450709,1769450713,1769561563,3463212,1770686076,1769304869,1769344675,1769344672,1769338792,1769342326,1769342333,1769448726,3480578,3480569,1769344636,1769344637,1769344639,1769344640,1769344642,1769543579,3493812,1769133017,3517333,1768943016,1770510658,1770547346,1770547351,1770547358,1770658654,3435921,1769651696,1770302882,3609133,1769181541,1769511177,1769492679,3220473,1769740983,1771085881,1770829998,1769707989,3643212,1769898822,1769898829,1769898828,1769776066,1770186199,1770186195,1769342650,1769318381,1770976858,1770226929,1770975940,1771042285,1770979945,1770979959,1770658634,1770658696,1770658630,1770658656,1770658633,1770658685,1770658632,1770658681,1770658631,1770658674,1771150849,1770979958,1770658654,1770658680,1770658693,1770658673,1770658683,1771218548,1771218549,1771218544,1771150846,1771645362,1771645382,1771645387,1771726138,1772177617,1772353899,1772173471,1772293885,1772293884,1772407418,1772407419,1772500215,1771887442,1769196206,1769606945,1772068653,1771150846,1770658654,1769606941,1769046375,1769450703,1771218544,1769606924,1772084139,1770691263,1772202846,1772176248,1772241665,1772445234,1771125667,1772345677,3415864,3296205,1769812220,1768963329,1769400110,1769939623,1769987950,3551755,1770799620,1769538765,1770178666,1769291923,1770989202,1770178776,1770148689,1769090190,1769616324,1769660405,1769090276,1769615581,1772292771,1770503083,1769678810,1771150846,1769927198,3546334,1769103321,1770596393,1768933924,1770815339,1770597683,1769615596,1769660401. |
stdin.in(soft)
1 |
3409204,1769089294,2092232,1718419,1279629,1064534,2093526,1769691350,1481023,2137816,1769691340,2331352,3465827,2092205,2092323,2092321,1769691341,1769301688,1769691345,3473233,2092325,2331341,3473234,2098665,1926218,2067137,2067134,2331343,2331334,2331347,2331355,1769658957,1279533,1897482,1769502715,1769691352,3206417,1632702,1770848434,1768937279,1483962,1483963,1482036,1481203,1482037,3605414,1769691338,1481023,1481026,1769691345,1769691350,1483970,1483972,1770029397,1482420,1770288720,1770029398,1480907,1481514,3449053,1482039,3605408,2342423,2342433,1768910452,1768910448,1769057884,1769057883,2831635,1769756734,2178176,2178178,3481116,1768941280,1770106450,1770106447,1770136896,1770180132,3433667,3433675,1769405856,1769405858,3491125,3491108,1770060630,1770060628,3645298,3645307,1770195094,1770195100,2703952,2703945,2117685,2117756,3550096,3550103,2021118,2021120,1769758678,1769758679,1769354134,3475262,1769242974,2043486,1769555990,2106388,1769173234,1769173241,1770014481,1770014488,2342434,2342437. |
Subscribe