Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
51478 littletwleve 小明十年身高 C++ Accepted 0 MS 248 KB 222 2024-09-21 23:15:56

Tests(1/1):


#include <bits/stdc++.h> using namespace std; int a[10]; int main(){ for(int i=0;i<10;i++){ cin>>a[i]; } int year; cin>>year; cout<<a[year%10]<<endl; cout<<a[year%10]-a[year%10-1]; return 0; }


Judgement Protocol: