Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -3,13 +3,13 @@ import extensions;
public program()
{
var a := console.loadLineTo(new Integer());
var b := console.loadLineTo(new Integer());
var a := Console.loadLineTo(new Integer());
var b := Console.loadLineTo(new Integer());
console.printLine(a," + ",b," = ",a + b);
console.printLine(a," - ",b," = ",a - b);
console.printLine(a," * ",b," = ",a * b);
console.printLine(a," / ",b," = ",a / b); // truncates towards 0
console.printLine(a," % ",b," = ",a.mod(b)); // matches sign of first operand
console.printLine(a," ^ ",b," = ",a ^ b);
Console.printLine(a," + ",b," = ",a + b);
Console.printLine(a," - ",b," = ",a - b);
Console.printLine(a," * ",b," = ",a * b);
Console.printLine(a," / ",b," = ",a / b); // truncates towards 0
Console.printLine(a," % ",b," = ",a.mod(b)); // matches sign of first operand
Console.printLine(a," ^ ",b," = ",a ^ b);
}