Submission #174005


Source Code Expand

#include<iostream>
int main()
{
cin>>n;
cout>>(n+1)/2;
return 0;
}

Submission Info

Submission Time
Task A - 引越し作業
User choda310
Language C++ (G++ 4.6.4)
Score 0
Code Size 72 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:4:1: error: ‘cin’ was not declared in this scope
./Main.cpp:4:1: note: suggested alternative:
/usr/include/c++/4.6/iostream:61:18: note:   ‘std::cin’
./Main.cpp:4:6: error: ‘n’ was not declared in this scope
./Main.cpp:5:1: error: ‘cout’ was not declared in this scope
./Main.cpp:5:1: note: suggested alternative:
/usr/include/c++/4.6/iostream:62:18: note:   ‘std::cout’