You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
343 B
22 lines
343 B
11 months ago
|
// ??? // ????
|
||
|
// ?????
|
||
|
/*
|
||
|
|
||
|
int main() {
|
||
|
int arr[100], i = 0, sum = 0;
|
||
|
while (getint()) {
|
||
|
arr[i] = getint();
|
||
|
i = i + 1;
|
||
|
}*/
|
||
|
int main() {
|
||
|
int arr[100], i = 0, sum = 0;
|
||
|
while (getint()) {
|
||
|
arr[i] = getint();
|
||
|
i = i + 1;
|
||
|
}
|
||
|
while (i) {
|
||
|
i = i - 1;
|
||
|
sum = sum + arr[i];
|
||
|
}
|
||
|
return sum % 79;
|
||
|
}
|