| 3 | using namespace std; |
| 4 | |
| 5 | int main() { |
| 6 | // �l�����Z |
| 7 | printf("%d\n", 869 + 120); // 989 �Əo�� |
| 8 | printf("%d\n", 869 - 120); // 749 �Əo�� |
| 9 | printf("%d\n", 869 * 120); // 104280 �Əo�� |
| 10 | printf("%d\n", 869 / 120); // 7 �Əo�́i�����ł͐��������݂̂��o�͂��邱�Ƃɒ��Ӂj |
| 11 | |
| 12 | // ��]�imod�j |
| 13 | printf("%d\n", 8 % 5); // 3 �Əo�� |
| 14 | printf("%d\n", 869 % 120); // 29 �Əo�� |
| 15 | |
| 16 | // ��Βl�iabs�j |
| 17 | printf("%d\n", abs(-45)); // 45 �Əo�� |
| 18 | printf("%d\n", abs(15)); // 15 �Əo�� |
| 19 | |
| 20 | // �ݏ�ipow�j |
| 21 | printf("%d\n", (int)pow(10.0, 2.0)); // 100 �Əo�� |
| 22 | printf("%d\n", (int)pow(3.0, 4.0)); // 81 �Əo�� |
| 23 | |
| 24 | // ���[�g�isqrt�j |
| 25 | printf("%.5lf\n", sqrt(4.0)); // 2.00000 �Əo�� |
| 26 | printf("%.5lf\n", sqrt(2.0)); // 1.41421 �Əo�� |
| 27 | return 0; |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected