Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Lehre
/
PIN3_test
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
feb9e718
authored
Nov 06, 2016
by
Tobias Langer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrong fix
parent
829bb1c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
test.c
+1
-5
No files found.
test.c
View file @
feb9e718
...
@@ -5,11 +5,7 @@
...
@@ -5,11 +5,7 @@
int
sum
(
int
n
)
int
sum
(
int
n
)
{
{
int
sum
=
0
;
return
(
n
*
(
n
-
1
))
/
2
;
for
(
int
i
=
1
;
i
<=
n
;
i
++
)
{
sum
+=
i
;
}
return
sum
;
}
}
void
usage
(
const
char
*
app_name
,
const
char
*
err_string
)
void
usage
(
const
char
*
app_name
,
const
char
*
err_string
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment