修改文件结构。

This commit is contained in:
unlockable
2023-02-21 10:56:54 +08:00
parent a64cfdd9f3
commit 40182871f4
83 changed files with 0 additions and 0 deletions

13
POP/04/Exercise03.c Normal file
View File

@@ -0,0 +1,13 @@
#include <stdio.h>
int main() {
int people[3] = {0};
for (int i = 0; i < 3; i++) {
people[i] = 1;
if ((people[1] == 1 || people[1] == 0) && (people[2] == 1 || people[2] == 0) && (people[2] == 0 || people[2] == 1)) {
printf("%d %d %d\n", people[0], people[1], people[2]);
}
people[i] = 0;
}
return 0;
}