28142023-01-26 13:48:29DalmMicimackó (40 pont)cpp11Wrong answer 16/403ms3724 KiB
#include <iostream>

using namespace std;

int main()
{
   int y,x;
   int k,n;

   cin>>y;
   cin>>x;
   cin>>k;
   cin>>n;

   int eredmeny;
   eredmeny - k - y;
   if(eredmeny < 0)
    eredmeny=0;

   eredmeny = eredmeny+n;
   eredmeny = eredmeny - (x-y);

   cout<<eredmeny;





























    return 0;
}
SubtaskSumTestVerdictTimeMemory
base16/40
1Accepted0/03ms1876 KiB
2Wrong answer0/02ms2124 KiB
3Wrong answer0/22ms2324 KiB
4Wrong answer0/22ms2388 KiB
5Wrong answer0/22ms2464 KiB
6Accepted2/22ms2464 KiB
7Accepted2/22ms2588 KiB
8Accepted2/22ms2796 KiB
9Accepted2/22ms2872 KiB
10Wrong answer0/22ms2876 KiB
11Accepted2/22ms2872 KiB
12Wrong answer0/22ms3000 KiB
13Wrong answer0/22ms3112 KiB
14Accepted2/22ms3072 KiB
15Wrong answer0/22ms3208 KiB
16Wrong answer0/22ms3280 KiB
17Wrong answer0/22ms3524 KiB
18Wrong answer0/22ms3484 KiB
19Wrong answer0/22ms3604 KiB
20Accepted2/22ms3484 KiB
21Accepted2/22ms3724 KiB
22Wrong answer0/22ms3692 KiB