阿尔托利亚丶潘德...吧 关注:11贴子:4,218

我发表了一篇贴子,大伙来看看吧~

只看楼主收藏回复



IP属地:河南来自Android客户端1楼2019-10-12 17:09回复
    Doctor Strange watched Endgame during Infinity War
    Thanos watched Infinity War during Endgame


    IP属地:河南来自Android客户端15楼2019-10-26 05:58
    回复
      #include <stdio.h>
      #include <string.h>
      #define N 1000 //定义大数运算的位数
      //打印显示大数
      void printit(int *a,int n){
      int i=0;
      while(a[i]==0) i++;
      for(;i<n;i++) printf("%d",a[i]);
      printf("\n");
      }
      //把字符串的数赋值给大数
      void stoarr(char *s,int *a,int n){
      int i,m;
      for(i=0;i<n;i++) a[i]=0;
      m=strlen(s);
      for(i=0;i<m;i++)
      a[n-m+i]=s[i]-'0';
      }
      //大数相加c=a+b
      void addarr(int *a,int *b,int *c,int n){
      int i,m=0;
      for(i=0;i<n;i++) c[i]=a[i]+b[i];
      //整理c
      for(i=n-1;i>=0;i--){
      c[i]+=m;
      m=c[i]/10;
      c[i]%=10;
      }
      }
      //大数相乘c=a*b
      void mularr(int *a,int *b,int *c,int n){
      int i,j,m;
      for(i=0;i<n;i++) c[i]=0;
      for(i=n-1;i>=0;i--)
      for(j=n-1;j>=0;j--){
      m=i+j-n+1;
      if (m>=0) c[m]+=a[i]*a[j];
      }
      //整理c
      m=0;
      for(i=n-1;i>=0;i--){
      c[i]+=m;
      m=c[i]/10;
      c[i]%=10;
      }
      }
      int main(){
      int a[N],b[N],c[N]; //定义3个大数
      char s[N];
      printf("输入第一个大数\n");
      gets(s);
      stoarr(s,a,N); //把字符串的内容传给第一个大数a
      printf("输入第二个大数\n");
      gets(s);
      stoarr(s,b,N); //把字符串的内容传给第二个大数b
      //计算c=a+b
      addarr(a,b,c,N);
      printf("两数之和是:\n");
      printit(c,N);
      //计算c=a*b
      mularr(a,b,c,N);
      printf("两数之积是:\n");
      printit(c,N);
      }


      IP属地:河南来自Android客户端17楼2019-10-28 14:07
      回复
        #include <stdio.h>
        #include <string.h>
        #define N 1000
        void printit(int* a, int n) {
        int i = 0;
        while (a[i] == 0) i++;
        for (; i < n; i++) printf("%d", a[i]);
        printf("\n");
        }
        void stoarr(char* s, int* a, int n) {
        int i, m;
        for (i = 0; i < n; i++) a[i] = 0;
        m = strlen(s);
        for (i = 0; i < m; i++)
        a[n - m + i] = s[i] - '0';
        }
        void addarr(int* a, int* b, int* c, int n) {
        int i, m = 0;
        for (i = 0; i < n; i++) c[i] = a[i] + b[i];
        for (i = n - 1; i >= 0; i--) {
        c[i] += m;
        m = c[i] / 10;
        c[i] %= 10;
        }
        }
        void mularr(int* a, int* b, int* c, int n) {
        int i, j, m;
        for (i = 0; i < n; i++) c[i] = 0;
        for (i = n - 1; i >= 0; i--)
        for (j = n - 1; j >= 0; j--) {
        m = i + j - n + 1;
        if (m >= 0) c[m] += a[i] * b[j];
        }
        m = 0;
        for (i = n - 1; i >= 0; i--) {
        c[i] += m;
        m = c[i] / 10;
        c[i] %= 10;
        }
        }
        int main() {
        int a[N], b[N], c[N];
        char s[N];
        printf("输入第一个大数\n");
        gets(s);
        stoarr(s, a, N);
        printf("输入第二个大数\n");
        gets(s);
        stoarr(s, b, N);
        addarr(a, b, c, N);
        printf("两数之和是:\n");
        printit(c, N);
        mularr(a, b, c, N);
        printf("两数之积是:\n");
        printit(c, N);
        }


        IP属地:河南18楼2019-10-28 14:22
        回复
          奇异+旺达打不过loki?


          IP属地:河南来自Android客户端19楼2019-10-28 15:13
          回复
            提问顺序 213


            IP属地:河南来自Android客户端20楼2019-10-28 17:54
            回复
              IP属地:河南22楼2019-11-03 08:57
              回复
                Oftenwe got from literary sourceswoderfulvisions of certain old monuments,only to find,after hundreds ofmiles of anticipatory pilgrimage,a heap of ruins,with perhaps a few roof-tiles and stone column-bases for reward.
                翻译: 通常,我们从文学上得到某些古老古迹的奇异景象,却发现在经过数百英里的预期朝圣之后,一堆废墟,也许还有一些屋顶砖瓦和石柱基作为回报。
                解释:前半句有语序改变的现象。前半句正确语序
                Oftenwe got woderful visions of certain old monuments from literarysources
                把got 和 from 之间的部分后移是因为这部分有点长,隔开了固定词组get from
                ,故后移之。。


                IP属地:河南23楼2019-11-07 14:00
                回复
                  IP属地:河南24楼2019-11-09 20:54
                  回复
                    一.内面位面(Inner Planes)
                    古神之父(Demiurge)
                    神之国度·地母盖娅(Gaea)
                    蛇之海·蛇神塞特(Set)
                    闪烁领域·冥神柯森(Chthon)
                    维山蒂·鸟神欧希特(Oshtur)
                    噬神者戴墨葛居(Demogorge)
                    月神托特/宜必斯(Thoth/Ibis)
                    哈普斯(Hyppus)
                    伊苏斯(Issus)
                    维山蒂·阿戈摩托(Agamotto)
                    维山蒂·霍戈斯(Hoggoth)
                    二.外层外面与分裂领域(Outer Planes & Splinter Realms)
                    八大魔神(Octessence)
                    1深红宇宙·赛托拉克(Cyttorak)
                    2法瑞拉(Farallah)
                    3巴尔札克(Balthak)
                    4艾柯恩(Ikonn)
                    5罗格达(Roggodorr)
                    6瓦图姆布(Watoomb)
                    7佛多(Valtorr)
                    8克拉坎(Krakkan)
                    地扎克(Dyzakk)
                    眼魔苏玛格拉斯(Shuma-Gorath)
                    紫色维度·阿加蒙(Aggamon)
                    斯洛里奥斯(Slorioth)
                    黑龙(Fatalis)
                    灰烬·痛之母(Trinity of Ashes·Mother-of-Pain)
                    灰烬·格里夫萨尔(Trinity of Ashes·Griefsavor)
                    灰烬· 伊格姆洛夫瑞奇(Trinity of Ashes·Ygmlosvorraich)
                    德纳克(Denak)
                    塞拉皮姆(Seraphim)
                    敌手(Adversary)
                    盘桓之径·玛格丽·萨扎多(Margali Szardos)
                    盘桓之径·玛格丽之女吉米恩(Jimaine)
                    特里翁(Trion of Triple-Evil)
                    三位一体·蒙面人(Three Who Are All of The Hooded One)
                    三位一体·火蛇(Three Who Are All of Burning Snake)
                    三位一体·羊之子(Three Who Are All of Goat Child)闪光之夜(Glitternight)
                    三.遥远国度(Far Realms)
                    席尼巴斯(Cinnibus)
                    迦法伦(Jefallen)
                    曼尼普尔(Munnipor)
                    四.未知维度
                    纳布罗斯(Nebulos)
                    异态(The other)


                    IP属地:河南来自Android客户端27楼2019-11-13 17:28
                    回复
                      漫威魔神团(内层位面+外层位面+盘桓之境+分裂领域+遥远国度)vs魔禁魔神团(格雷姆林) 哪边强?
                      一.漫威魔神团成员:
                      内面位面(Inner Planes):
                      1.古神之父(Demiurge)
                      2.神之国度·地母盖娅(Gaea)
                      3.蛇之海·蛇神塞特(Set)
                      4.闪烁领域·冥神柯森(Chthon)
                      5.维山蒂·鸟神欧希特(Oshtur)
                      6.噬神者戴墨葛居(Demogorge)
                      7.维山蒂·阿戈摩托(Agamotto)
                      外层外面与分裂领域(Outer Planes & Splinter Realms)
                      8.维山蒂·霍戈斯(Hoggoth)
                      八大魔神团成员(Octessence)
                      9.深红宇宙·赛托拉克(Cyttorak)
                      10.法瑞拉(Farallah)
                      11.巴尔札克(Balthak)
                      12.艾柯恩(Ikonn)
                      13.罗格达(Roggodorr)
                      14.瓦图姆布(Watoomb)
                      15.佛多(Valtorr)
                      16.克拉坎(Krakkan)
                      17.地扎克(Dyzakk)
                      18.眼魔苏玛格拉斯(Shuma-Gorath)
                      19.紫色维度·阿加蒙(Aggamon)
                      20.斯洛里奥斯(Slorioth)
                      21.黑龙(Fatalis)
                      22.灰烬·痛之母(Trinity of Ashes·Mother-of-Pain)
                      23.灰烬·格里夫萨尔(Trinity of Ashes·Griefsavor)
                      24.灰烬· 伊格姆洛夫瑞奇(Trinity of Ashes·Ygmlosvorraich)
                      25.德纳克(Denak)
                      26.塞拉皮姆(Seraphim)
                      27.敌手(Adversary)
                      28.盘桓之径·玛格丽·萨扎多(Margali Szardos)
                      29.盘桓之径·玛格丽之女吉米恩(Jimaine)
                      30.特里翁(Trion of Triple-Evil)
                      31.三位一体·蒙面人(Three Who Are All of The Hooded One)
                      32.三位一体·火蛇(Three Who Are All of Burning Snake)
                      33.三位一体·羊之子(Three Who Are All of Goat Child)
                      34.闪光之夜(Glitternight)
                      遥远国度(Far Realms)
                      35.席尼巴斯(Cinnibus)
                      36.迦法伦(Jefallen)
                      37.曼尼普尔(Munnipor)
                      未知维度
                      38.纳布罗斯(Nebulos)
                      39.异态(The other)


                      IP属地:河南来自Android客户端28楼2019-11-13 17:29
                      回复
                        no404.icu


                        IP属地:河南来自Android客户端30楼2019-11-22 20:23
                        回复
                          #include<stdio.h>
                          #include<string.h>
                          #include<stdlib.h>
                          #include<stdbool.h>
                          #include<malloc.h>
                          #define SIZE 201
                          struct BigInt
                          {
                          int len;
                          char* val;
                          };
                          struct BigInt getnum(void);
                          struct BigInt addnum(struct BigInt n1,struct BigInt n2,int s);
                          char pick_digit(struct BigInt a, int i);
                          struct BigInt subnum(struct BigInt n1, struct BigInt n2);
                          struct BigInt multinum(struct BigInt n1, struct BigInt n2,int s);
                          char get_first(void);
                          struct BigInt(*get_operator(void))(struct BigInt, struct BigInt, int);
                          void divide_big(struct BigInt x, int i, struct BigInt* xlow, struct BigInt* xhigh);
                          void xprintf(struct BigInt a);
                          int main(void)
                          {
                          struct BigInt n1,n2;
                          struct BigInt(*operator)(struct BigInt,struct BigInt,int);
                          printf("Now, we have a powerful calculator that can help you get the answer of \naddition or multiplication between two large numbers less than %d digits.\n",SIZE-1);
                          printf("Any key to continue or 'q'to quit.\n");
                          while (get_first() != 'q')
                          {
                          printf("Please enter your first number.\n");
                          while ((n1 = getnum()).len == 0) printf("Please mind your entering. Digits only and not more than %d digits.\n",SIZE-1);
                          printf("Please enter your second number.\n");
                          while ((n2 = getnum()).len == 0) printf("Please mind your entering. Digits only and not more than %d digits.\n",SIZE-1);
                          if (n1.len<n2.len)
                          {
                          struct BigInt p = n1;
                          n1 = n2;
                          n2 = p;
                          }
                          printf("Please enter your operator you choose.\n");
                          operator = get_operator();
                          xprintf(operator(n1, n2, 0));
                          free(n1.val), free(n2.val);
                          printf("Now you get the answer.\nAny key to continue or 'q'to quit.\n");
                          }
                          printf("Thank you for your using. Have a good day!\n");
                          return 0;
                          }
                          char get_first(void)
                          {
                          char ch;
                          ch = getchar();
                          while (getchar() != '\n')
                          continue;
                          return ch;
                          }
                          struct BigInt(*get_operator(void))(struct BigInt, struct BigInt, int)
                          {
                          char ch;
                          struct BigInt(*operator)(struct BigInt, struct BigInt, int)=NULL;
                          while (!((ch = get_first()) == '+' || ch == '*'))
                          printf("Plea


                          IP属地:河南来自Android客户端43楼2019-11-25 11:26
                          回复



                            IP属地:河南来自Android客户端44楼2019-11-30 14:42
                            回复
                              台湾政局与两岸关系.北京:北京大学出版社,2004.


                              IP属地:河南45楼2019-11-30 16:48
                              回复