## CCCJQR P4

View as PDF

Points: 7
Time limit: 1.0s
Memory limit: 41M

Authors:
Problem type

Given two things, and , determine either or .

#### Input Specification

The first line will contain .

The next lines will contain two integers, and , separated by a space.

#### Output Specification

On separate lines, output either or .

Note: Only one of the two is correct.

#### Sample Input

6
184756 705432
10400600 48620
40116600 2704156
7296836 284923
739274 9001
42069 3829

#### Sample Output

-520676
10351980
42820756
7581759
748275
38240

• commented on Feb. 29, 2020, 1:10 p.m.

This comment is hidden due to too much negative feedback. Click here to view it.

• commented on Dec. 30, 2018, 4:45 p.m.

What? I dont understand the question. when should I plus or minus

• commented on June 26, 2016, 11:55 a.m.

I got: TLE (write syscall disallowed) I was submitting with Turing (like a n00b). What does this mean?

• commented on June 26, 2016, 4:08 p.m.

Turing tried calling the write system call with as the file descriptor (0=stdin, 1=stdout, 2=stderr), and the sandbox denied it. This would have been displayed as an RTE, but the submission TLE'd a short time later and TLE overrides RTE.

• commented on June 26, 2016, 7:46 p.m.

Not really good with Linux, but why it would do this?

• commented on June 26, 2016, 9:01 p.m.

If I knew I'd tell you. There's no legitimate reason for it to do so, except maybe "because it's Turing".