8000 news · EarthlyEric/zerojudge@adbce4d · GitHub
[go: up one dir, main page]

Skip to content

Commit adbce4d

Browse files
author
EarthlyEric6
committed
news
1 parent 9f34744 commit adbce4d

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

src/a011.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#include <iostream>
2+
#include <algorithm>
3+
using namespace std;
4+
5+
int main(){
6+
string i;
7+
char sys = " ";
8+
while (getline(cin,i))
9+
{
10+
int time= count(i.begin(), i.end(),sys);
11+
cout << time;
12+
}
13+
14+
}

src/a020.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#include <iostream>
2+
#include <map>
3+
using namespace std;
4+
5+
6+
int main(){
7+
8+
}

src/c039.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#include <iostream>
2+
using namespace std;
3+
4+
int main(){
5+
int x,y;
6+
cin >> x >> y;
7+
while (x!=y)
8+
{
9+
10+
}
11+
12+
}

src/clean.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import os
2+
3+
for filename in os.listdir('./'):
4+
if '.exe' in filename:
5+
os.remove('./'+filename)

0 commit comments

Comments
 (0)
0