Сравнить коммиты
7 Коммитов
9ca17cef47
...
09aa4209b5
Автор | SHA1 | Дата |
---|---|---|
|
09aa4209b5 | 3 недель назад |
|
c56505bdec | 3 недель назад |
|
2bb350dc96 | 3 недель назад |
|
4bcba6aec1 | 3 недель назад |
|
5d972dfb07 | 3 недель назад |
|
4d44b9eb8b | 3 недель назад |
|
d18c781812 | 3 недель назад |
@ -0,0 +1,3 @@
|
||||
/bin
|
||||
/obj
|
||||
*.layout
|
@ -0,0 +1,24 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <iomanip>
|
||||
#include <limits>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
cout << "Enter A and B: ";
|
||||
int a, b;
|
||||
cin >> a >> b;
|
||||
cout << "A + B = " << a + b << '\n';
|
||||
cout << "A - B = " << a - b << '\n';
|
||||
cout << "A : B = " << a / b << '\n';
|
||||
cout << "A * B = " << a * b << '\n' ;
|
||||
cout << "A % B = " << a % b << '\n' ;
|
||||
cout << "Max = " << max(a, b) << '\n';
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="project" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="bin/Debug/project" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/project" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-fexceptions" />
|
||||
</Compiler>
|
||||
<Unit filename="main.cpp">
|
||||
<Option target="Debug" />
|
||||
</Unit>
|
||||
<Extensions>
|
||||
<lib_finder disable_auto="1" />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
Загрузка…
Ссылка в новой задаче