Created
March 7, 2018 14:04
-
-
Save draganczukp/86b92fb4ab393b52df9dd85ec012b86f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int licz(int n){ | |
int suma = 0; | |
// Nie pamiętam do ilu trzebabyło sumować | |
for(int i = 0; i < 1000; i+=2){ | |
suma += i; | |
} | |
return 2 * (suma*suma*suma); | |
} | |
int main(){ | |
licz(-8); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment