Results 1 to 6 of 6
Thread: C++
Hybrid View
-
13th November 2012 19:15 #1
C++
. C++, , . , 1234, , 2143 - 1234+2143 .
, , . p=b||a||d||c, p=b&&a&&d&&c, "p" "s", x p - 1235. ?Code:#include <iostream.h> int main() { int x,a,b,c,d,p,s; cin>>x: a=(x/1000)%10; b=(x/100)%10; c=(x/10)%10; d=x%10;ASRock B450M Pro4 / 5700X@4.5GHz / MSI RX 6600 XT Mech 2X / be quiet! Dark Rock 4 / 2x16GB FlareX 3200MHz CL16 / FSP Hydro G Pro 1000W / Samsung Odyssey G5 S27AG50
-
13th November 2012 19:40 #2
.. a <-> b c <-> d? , :
Code:result = c + d*10 + a*100 + b*1000;
, . .
"640K ught to be enough for anybody" - Bill Gates, 1981
::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel
-
13th November 2012 19:46 #3
-
13th November 2012 20:50 #4
, , . "true", true||true e true, - 1, =1. true&&true .
Laa shay'a waqi'un moutlaq bale kouloun moumkine.
Nulla é reale, tutto é lecito.
-
14th November 2012 01:32 #5
-
14th November 2012 01:47 #6
true, true
x'cuz d pun
, . .
"640K ught to be enough for anybody" - Bill Gates, 1981
::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel




Reply With Quote

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