Submission
Status:
-PPPPPPPPPPPPPPPPPPP
Subtask/Task Score:
95/100
Score: 95
User: rice_ot
Problemset: ISBN
Language: cpp
Time: 0.003 second
Submitted On: 2025-10-14 13:45:06
#include <bits/stdc++.h>
using namespace std;
int main(){
int total = 0;
for(int i = 10; i>1; i--){
int n; cin>>n;
total+=i*n;
}
if(11-(total%11) != 0){
cout<<11-(total%11);
}
else cout<<0;
}