質問編集履歴

1

ご指摘内容の編集(初心者マークの表示、コード部分をC言語で表示)

2019/01/12 08:29

投稿

tohokuplug
tohokuplug

スコア13

test CHANGED
File without changes
test CHANGED
@@ -104,15 +104,15 @@
104
104
 
105
105
 
106
106
 
107
- ※は見出し表示の回避
107
+ ```lang-C
108
-
108
+
109
- #define _USE_MATH_DEFINES
109
+ #define _USE_MATH_DEFINES
110
-
110
+
111
- #include<stdio.h>
111
+ #include<stdio.h>
112
-
112
+
113
- #include<math.h>
113
+ #include<math.h>
114
-
114
+
115
- #define f(ys0,zs0) ((x-xs0)*M)/(4*M_PI)/((x-xs0)*(x-xs0)+(y-ys0)*(y-ys0)+(z-zs0)*(z-zs0))/sqrt((x-xs0)*(x-xs0)+(y-ys0)*(y-ys0)+(z-zs0)*(z-zs0))
115
+ #define f(ys0,zs0) ((x-xs0)*M)/(4*M_PI)/((x-xs0)*(x-xs0)+(y-ys0)*(y-ys0)+(z-zs0)*(z-zs0))/sqrt((x-xs0)*(x-xs0)+(y-ys0)*(y-ys0)+(z-zs0)*(z-zs0))
116
116
 
117
117
 
118
118
 
@@ -224,6 +224,8 @@
224
224
 
225
225
  }
226
226
 
227
+ ```
228
+
227
229
  ### 試したこと
228
230
 
229
231