Skip to content

Commit 0ff4a10

Browse files
committed
Debugged sum(100) example : missing the last one
1 parent 573b67e commit 0ff4a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

00/02.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"int main(int argn, char * argv[]){\n",
3434
" int s = 0;\n",
3535
"\n",
36-
" for (int i=0; i<100; ++i) {\n",
36+
" for (int i=0; i<(100+1); ++i) {\n",
3737
" s += i;\n",
3838
" }\n",
3939
" printf(\"s = %d\\n\", s);\n",

0 commit comments

Comments
 (0)