Submission
Status:
-PPPPPPPPPPPPPPPPPPP
Subtask/Task Score:
95/100
Score: 95
User: tl.cpp
Problemset: ISBN
Language: cpp
Time: 0.003 second
Submitted On: 2026-08-05 13:14:26
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int sum;
int main() {
ios::sync_with_stdio(0), cin.tie(0);
for (int i = 10; i > 1; i--) {
int x; cin >> x;
sum += (i * x);
}
cout << 11 - (sum % 11);
}