Submission
Status:
PPPPPPPPPPPPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: ssens3
Problemset: ISBN
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-04 14:56:12
#include <iostream>
using namespace std;
int main(){
int x, s = 0;
for (int i = 10; i > 1; i--){
cin >> x; s += x * i;
}
cout << (s % 11 == 0 ? 0 : 11 - (s % 11));
}