sysy-data/functional_c/sy/81_skip_spaces.sy

24 lines
363 B
Plaintext
Raw Normal View History

2024-06-02 22:04:54 +08:00
#include "sylib.h"
2024-04-14 22:20:29 +08:00
// ??? // ????
// ?????
/*
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;
}