We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b765895 commit 65c9af6Copy full SHA for 65c9af6
temp.c
@@ -24,7 +24,7 @@
24
#define N 200000
25
#define pi 3.14159
26
27
-#define forn(i, n) for (int i = 0; i < int(n); i++)
+#define forn(i, n) for(int i = int(i); i < int(n); i++)
28
#define mod9 90000007
29
30
temp.cpp
@@ -35,7 +35,7 @@
35
36
37
38
+#define forn(i, n) for(int i = 0; i < int(n); i++)
39
40
41
#define fs(n) fixed<<setprecision(int(n))
0 commit comments