Submission

Status:

PPPPPPPPPPPPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Alif_Sama

Problemset: ISBN

Language: cpp

Time: 0.002 second

Submitted On: 2025-10-09 09:03:40

#include <iostream>
using namespace std;

int main() {
    int arr[9];
    int test = 0;
    for (int i = 0; i < 9; i++) {
        cin >> arr[i];
        test += (10-i) * arr[i];
    }
    test %= 11;
    cout << (11 - test) % 11;
}