mycode/Baekjoon/js/10430.js
notalentprogrammer 81b26c9230 20250507 baekjoon
2025-05-07 22:41:48 +09:00

6 lines
228 B
JavaScript
Executable File

const fs = require("fs");
const n = fs.readFileSync("/dev/stdin").toString().split(" ");
const a = parseInt(n[0]);
const b = parseInt(n[1]);
const c = parseInt(n[2]);
console.log((a+b)%c,((a%c)+(b%c))%c,(a*b)%c,((a%c)*(b%c))%c);