Submission
Status:
P-------------------
Subtask/Task Score:
5/100
Score: 5
User: un8qe
Problemset: ISBN
Language: cpp
Time: 0.003 second
Submitted On: 2025-09-23 11:01:14
#include<bits/stdc++.h>
using namespace std;
#define For(len) for(int i=0; i<len; i++)
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a,b,c,d,e,f,g,h,i,j;
cin >> a >> b >> c >> d >> e >> f >> g >> h >> i;
j = 10*a + 9*b + 8*c + 7*d + 6*e + 5*f + 4*g + 3*h + 2*i;
j = (j%11) ? 11:j%11;
cout << j;
}