Evaluations — Input View

Evaluations for input

2 rows

Input
Output
Evaluation Input Image

<image 1> What is the DAG shown above for?



(A) ((x + y) - ((x + y) * (x - y))) - ((x + y) * (x - y))


(B) ((x - y) - ((x + y) * (x - y))) + ((x + y) * (x - y))


(C) (x - ((x + y) * (x - y))) + ((x + y) * (x - y))


(D) ((x + y) - ((x + y) * (x - y))) + ((x + y) * (x - y))


Answer with the option's letter from the given choices directly. No punctuation.


Answer: (B) (C)


Expected Answer: D

Difficulty: Hard

Subfield: Compiler Principle

Evaluation Input Image

<image 1> What is the DAG shown above for?



(A) ((x + y) - ((x + y) * (x - y))) - ((x + y) * (x - y))


(B) ((x - y) - ((x + y) * (x - y))) + ((x + y) * (x - y))


(C) (x - ((x + y) * (x - y))) + ((x + y) * (x - y))


(D) ((x + y) - ((x + y) * (x - y))) + ((x + y) * (x - y))


Answer with the option's letter from the given choices directly. No punctuation.


D


Expected Answer: D

Difficulty: Hard

Subfield: Compiler Principle

Rows per page

Page 1 of 1

Input

Input ID
66ede41b-7079-4cc4-a8df-135fd59fd451
Created
February 13, 2024
Permission
Public