提交时间:2023-04-12 13:17:55
运行 ID: 14268
#include<iostream> using namespace std; int main() { int a[10]; int year,i; for(i=0;i<10;i++) cin>>a[i]; cin>>year; cout<<a[year-2000]<<endl; cout<<""<<a[year-2000]-a[year-2000-1]; }