Submission
Status:
-PPPPPPPPPPPPPPPPPPP
Subtask/Task Score:
95/100
Score: 95
User: mocngaijakraila
Problemset: ISBN
Language: cpp
Time: 0.003 second
Submitted On: 2026-02-28 15:54:44
#include<bits/stdc++.h>
using namespace std;
int arr[10], s = 0;
int main() {
for(int i = 1; i <= 9; i++) {
cin >> arr[i];
s += arr[i] * (10 - i + 1);
}
cout << 11 - s % 11;
return 0;
}