|
|
|
|
|
|
|
Вернуться
| 1 melniciuc iurii victor, 05 февраля 2011 г. 12:46:58 | |
|
Caut unchiul Melniciuc Ivan Vladimerovici anul nasterii 1939 nascut in satul viisoara raionul edinet.Ultimul loc de trai care-l cunosc este or Novopolsk regiunea Vitevsc Belorusia
|
|
|
| 2 Афзали Б. ТРГИ, 25 сентября 2008 г. 7:32:58 | |
|
Вот те ссылка там можно понять что я написал http://www.everfall.com/paste/id.php?exo2jnrie2u7
|
|
|
| 3 Афзали Б. ТРГИ, 25 сентября 2008 г. 7:30:32 | |
1 вариант: #include < stdio.h > long a,b; int main(){ freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); scanf("%ld%ld",&a,&b); printf("%ld",a+b); return 0; } 2 вариант: #include < iostream > using namespace std; long a,b; int main(){ freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); cin >> a >> b; cout << a+b; return 0; } 3 вариант(): #include<fstream> using namespace std; int main() { ifstream fin; ofstream fout; fin.open("input.txt"); fout.open("output.txt"); fin >> a >> b; fout << a + b; return 0; } Последние два варианта работают значительно медленнее, чем первый.
|
|
|
Чтобы оставить сообщение необходимо зарегистрироваться и авторизоваться!
| | | |