Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
/* 1. Wygeneruj 6 liczb z zakresu do 1 do 49 bez powtórzeń. 2. Problem wydawania reszty. Wydać dowolną resztę: a) przy nieograniczonej liczbie nominalow b) przy ograniczonej liczbie nominalow 3. Znjadź minimum funkcji f(x)=x^3*ln(1-sin^2*sqrt(x)*y) dla xE<0,1> z dokładnością do 0.01 yE<-pi,pi> z dokładnością do pi/10 */ #include
#include
using namespace std; void zad1() { int tab[49]; srand(time(NULL)); for(int i=0; i<49; i++) { tab[i]=rand()%49+1; for(int j=0; j
>zaplata; if(znak=='a') { i=8; cout<<"Otrzymujesz: "; do { reszta+=tab[i]; if(reszta>(zaplata-doZaplaty)) { reszta-=tab[i]; i--; } else { cout<
0) { reszta+=tab[i]; if(reszta>(zaplata-doZaplaty)) { reszta-=tab[i]; i--; } else { ile[i]=ile[i]-1; cout<
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)