Submission

Status:

-PPPPPPPPPPPPPPPPPPP

Subtask/Task Score:

95/100

Score: 95

User: solomon

Problemset: ISBN

Language: cpp

Time: 0.004 second

Submitted On: 2026-11-23 08:58:45

#include <bits/stdc++.h>
using namespace std;

int main(){
    int isbn = 0,n;
    for(int i = 10;i>1;i--){
        cin >> n;
        isbn += n*i;
    }cout << (11 - (isbn % 11));
}