Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78756 王郡翊 19买画笔 C++ Wrong Answer 0 MS 208 KB 228 2024-06-29 09:10:39

Tests(0/5):


Code:

#include<stdio.h> int main() { int n; scanf("%d",&n); int a[n]; int i; for(i=0;i<n-1;i++) scanf("%d",a+i); int temp=a[0]; for(i=1;i<n-1;i++) { temp=temp^a[i]; } printf("%d\n",temp); return 0; }


Run Info:

------Input------
9 1 1 9 11 3 3 11 5 9
------Answer-----
5
------Your output-----
12