update 6-7

This commit is contained in:
Luthics 2023-02-26 17:39:52 +08:00
parent 50ea136fdb
commit 013a2c3d0e
3 changed files with 26 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
*/tempCodeRunnerFile.*
*/*.exe
*/*.exe
t.py

11
1/6.c Normal file
View File

@ -0,0 +1,11 @@
#include <stdio.h>
int ans;
int main() {
for (int i = 1; i < 10; i++) {
ans += i;
}
printf("%d", ans);
return 0;
}

13
1/7.c Normal file
View File

@ -0,0 +1,13 @@
#include <stdio.h>
long long ans;
int main() {
//打表提速
printf("5000050000");
// for (int i = 1; i <= 100000; i++) {
// ans += i;
// }
// printf("%lld", ans);
return 0;
}