Skip to content

Commit

Permalink
fix: c code
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Nov 2, 2023
1 parent 233c421 commit c96a3b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion solution/2100-2199/2103.Rings and Rods/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ impl Solution {
### **C**

```c
int countPoints(char * rings) {
int countPoints(char* rings) {
int d['Z'];
memset(d, 0, sizeof(d));
d['R'] = 1;
Expand Down
2 changes: 1 addition & 1 deletion solution/2100-2199/2103.Rings and Rods/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ impl Solution {
### **C**

```c
int countPoints(char * rings) {
int countPoints(char* rings) {
int d['Z'];
memset(d, 0, sizeof(d));
d['R'] = 1;
Expand Down
2 changes: 1 addition & 1 deletion solution/2100-2199/2103.Rings and Rods/Solution.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
int countPoints(char * rings) {
int countPoints(char* rings) {
int d['Z'];
memset(d, 0, sizeof(d));
d['R'] = 1;
Expand Down

0 comments on commit c96a3b6

Please sign in to comment.