QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#620696#9320. Find the Easiest ProblemC0pyCatCompile Error//C11130b2024-10-07 20:28:532024-10-07 20:28:54

Judging History

你现在查看的是最新测评结果

  • [2024-10-07 20:28:54]
  • 评测
  • [2024-10-07 20:28:53]
  • 提交

answer

#include <stdio.h>
int main() {
	int x = 2022;
	int y = 2023;
	y = (x = x < x + y || y = y > y - x);
	printf("%d %d",x,y);
}

Details

answer.code: In function ‘main’:
answer.code:5:26: error: lvalue required as left operand of assignment
  y = (x = x < x + y || y = y > y - x);
                          ^