Submission #1115341


Source Code Expand

#include<bits/stdc++.h>
using namespace std;
 int main(){
long long a,b;
cin>>a>>b;
ll r=a*2;
ll ans=(r+b)/4;
cout<<ans<<endl;

}

Submission Info

Submission Time
Task C - Scc Puzzle
User the_one1
Language C++14 (GCC 5.4.1)
Score 0
Code Size 140 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:6:1: error: ‘ll’ was not declared in this scope
 ll r=a*2;
 ^
./Main.cpp:7:4: error: expected ‘;’ before ‘ans’
 ll ans=(r+b)/4;
    ^
./Main.cpp:8:7: error: ‘ans’ was not declared in this scope
 cout<<ans<<endl;
       ^