diff --git a/未命名1.cpp b/未命名1.cpp new file mode 100644 index 0000000..8c66ec9 --- /dev/null +++ b/未命名1.cpp @@ -0,0 +1,21 @@ +#include +using namespace std; +int main(){ + int n; + cin >> n; + if(n >= 90){ + cout << ""; + } + else if(n >= 75){ + cout << ""; + } + else if(n >= 60){ + cout << ""; + } + else{ + cout << ""; + } + + + return 0; +} diff --git a/未命名1.exe b/未命名1.exe new file mode 100644 index 0000000..3b540d5 Binary files /dev/null and b/未命名1.exe differ diff --git a/未命名2.cpp b/未命名2.cpp new file mode 100644 index 0000000..2002ac7 --- /dev/null +++ b/未命名2.cpp @@ -0,0 +1,14 @@ +#include +using namespace std; +int main(){ + int a,b,c,n; + cin >> n; + a = n / 100; + b = n / 10 % 10; + c = n % 100 % 10; + cout << c << b << a; + + + return 0; +} + diff --git a/未命名2.exe b/未命名2.exe new file mode 100644 index 0000000..27a7fef Binary files /dev/null and b/未命名2.exe differ diff --git a/未命名3.cpp b/未命名3.cpp new file mode 100644 index 0000000..3d75453 --- /dev/null +++ b/未命名3.cpp @@ -0,0 +1,15 @@ +#include +using namespace std; +int main(){ + int x,a,y,b,z; + cin >> x >> a >> y >> b; + z = (a*x - b*y) / (a - b); + cout << z; + + + + + + return 0; +} + diff --git a/未命名3.exe b/未命名3.exe new file mode 100644 index 0000000..b61dd7f Binary files /dev/null and b/未命名3.exe differ