From ed9843cee55920ee5f596c9ca97a58151411b0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=8E=E7=A5=BE?= <13452906+bhxqtd@user.noreply.gitee.com> Date: Fri, 22 Dec 2023 06:45:07 +0000 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC1=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘祎祾 <13452906+bhxqtd@user.noreply.gitee.com> --- ...1\271\346\225\264\346\225\260\345\222\214" | 6 ++++ ...5\260\347\273\204\347\232\204\345\222\214" | 29 ++++++++++++++++ ...5\260\347\232\204\344\270\252\346\225\260" | 33 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 "2224020137/\347\254\2541\347\253\240/\345\211\215n\351\241\271\346\225\264\346\225\260\345\222\214" create mode 100644 "2224020137/\347\254\2541\347\253\240/\346\211\200\346\234\211\345\245\207\346\225\260\351\225\277\345\272\246\345\255\220\346\225\260\347\273\204\347\232\204\345\222\214" create mode 100644 "2224020137/\347\254\2541\347\253\240/\347\264\240\346\225\260\347\232\204\344\270\252\346\225\260" diff --git "a/2224020137/\347\254\2541\347\253\240/\345\211\215n\351\241\271\346\225\264\346\225\260\345\222\214" "b/2224020137/\347\254\2541\347\253\240/\345\211\215n\351\241\271\346\225\264\346\225\260\345\222\214" new file mode 100644 index 00000000..2aa69e93 --- /dev/null +++ "b/2224020137/\347\254\2541\347\253\240/\345\211\215n\351\241\271\346\225\264\346\225\260\345\222\214" @@ -0,0 +1,6 @@ +long aaa(long n) +{ + int a; + a=n*(n+1)/2; + return a; +} \ No newline at end of file diff --git "a/2224020137/\347\254\2541\347\253\240/\346\211\200\346\234\211\345\245\207\346\225\260\351\225\277\345\272\246\345\255\220\346\225\260\347\273\204\347\232\204\345\222\214" "b/2224020137/\347\254\2541\347\253\240/\346\211\200\346\234\211\345\245\207\346\225\260\351\225\277\345\272\246\345\255\220\346\225\260\347\273\204\347\232\204\345\222\214" new file mode 100644 index 00000000..47c98f60 --- /dev/null +++ "b/2224020137/\347\254\2541\347\253\240/\346\211\200\346\234\211\345\245\207\346\225\260\351\225\277\345\272\246\345\255\220\346\225\260\347\273\204\347\232\204\345\222\214" @@ -0,0 +1,29 @@ +#include +void twosum(int nums[],int *sum1,int *sum2,int size) +{ + *sum1=0; + *sum2=0; + for(int i=0;i +#include +#include +bool prime1(long n) +{ + long j; + for(j=2;j