Submission #286869


Source Code Expand

Copy
#include<iostream>

int main()
{
int n,k;
cin>>n>>k;
if(n<k*2)
{
cout<<"NO"<<endl
}
else
{
cout<<"YES"<<endl
}
return 0;
}

Submission Info

Submission Time
Task A - 閉路グラフ
User dosen601
Language C++ (G++ 4.6.4)
Score 0
Code Size 137 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:6:1: error: ‘cin’ was not declared in this scope
./Main.cpp:6:1: note: suggested alternative:
/usr/include/c++/4.6/iostream:61:18: note:   ‘std::cin’
./Main.cpp:9:1: error: ‘cout’ was not declared in this scope
./Main.cpp:9:1: note: suggested alternative:
/usr/include/c++/4.6/iostream:62:18: note:   ‘std::cout’
./Main.cpp:9:13: error: ‘endl’ was not declared in this scope
./Main.cpp:9:13: note: suggested alternative:
/usr/include/c++/4.6/ostream:543:5: note:   ‘std::endl’
./Main.cpp:10:1: error: expected ‘;’ before ‘}’ token
./Main.cpp:13:1: error: ‘cout’ was not declared in this scope
./Main.cpp:13:1: note: suggested alternative:
/usr/include/c++/4.6/iostream:62:18: note:   ‘std::cout’
./Main.cpp:13:14: error: ‘endl’ was not declared in this scope
./Main.cpp:13:14: note: suggested alternative:
/usr/include/c++/4.6/ostream:543:5: note:   ‘std::endl’
./Main.cpp:14:1: error: expected ‘;’ before ‘}’ token...