Submission #3225949


Source Code Expand

#include <bit/stdc++.h>
using namespace std;

int main(){
  int a,b,k;
  cin>>a>>b>>k;
  cout<<(b<k?b+a-(k-b):a+k)<<endl;
}

Submission Info

Submission Time
Task A - コインの反転
User udnmega
Language C++14 (GCC 5.4.1)
Score 0
Code Size 130 Byte
Status CE

Compile Error

./Main.cpp:1:24: fatal error: bit/stdc++.h: No such file or directory
 #include <bit/stdc++.h>
                        ^
compilation terminated.