Submission #2530230
Source Code Expand
#include <iostream> using namespace std; int main(void){ // Your code here! double a,b; cin >> a >> b; double c = a/2; if(c > b){ cout << b-1 << endl; } else{ cout << a-b << endl; }
Submission Info
Submission Time | |
---|---|
Task | A - 赤赤赤赤青 |
User | Kou026 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 243 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:13:5: error: expected ‘}’ at end of input } ^