Results 1 to 12 of 12
Thread: - -
Hybrid View
-
11th December 2012 21:07 #1Registered User
Join Date: Jan:2011
Location: Sofia
Posts: 9
- -
, , .
, , . , , ( ) . , , . , . , , .. , - ... .Code:#include<iostream> using namespace std; int main() { cout << "Vavedi za kolko dni iskash da vavedej naprejeniq: " << endl; int days; cin >> days; cout << "Vavedi kolko naprejeniq iskash da vavedesh na den: " << endl; int naprejeniq_na_den; cin >> naprejeniq_na_den; int naprejeniq[100][100]; int minimalni_stoinosti[100]; int tekush_minimum = 99999; for(int i=0; i<days; i++) { for(int j=0; j<naprejeniq_na_den; j++) { cout << "Vavedi naprejenie za den " << i+1 << endl; cin >> naprejeniq[j][i]; if(naprejeniq[j][i] < tekush_minimum) { tekush_minimum = naprejeniq[j][i]; } } minimalni_stoinosti[i] = tekush_minimum; tekush_minimum = 99999; } for(int i=0; i<days; i++) { cout << "minimalno naprejenie za den " << i+1 << " : " << minimalni_stoinosti[i] << endl; } return 0; }Last edited by vbTheKing; 12th December 2012 at 16:37.
-
11th December 2012 22:15 #2
: ,
, . 100 . 40-60B . , . CODE .
Laa shay'a waqi'un moutlaq bale kouloun moumkine.
Nulla é reale, tutto é lecito.
-
11th December 2012 22:22 #3Registered User
Join Date: Jan:2011
Location: Sofia
Posts: 9
. , ? - - . , - . , , , , , . , , . , , .
-
11th December 2012 22:25 #4
, , .
, . .
"640K ught to be enough for anybody" - Bill Gates, 1981
::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel
-
11th December 2012 22:51 #5Registered User
Join Date: Jan:2011
Location: Sofia
Posts: 9
-
12th December 2012 00:58 #6
.. .
, - .., , - - . .
, , - .
, , , , .
-
11th December 2012 22:45 #7




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in