Submission
Status:
PPPPPPPPPPPPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: letdown
Problemset: ISBN
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-09 15:30:36
#include <iostream>
using namespace std;
int main() {
int s=0;
for (int i = 10; i >= 2; i--) {
int n;
cin >> n;
s+= i*n;
}
for (int ans = 0; ans <= 11; ans++) {
if ((ans + s) % 11 == 0) {
cout << ans;
return 0;
}
}
}