Submission #146301


Source Code Expand

#include <iostream>
using namespace std;

void main(void)
{
	int x, y;

	scanf("%d\n%d", &x, &y);
	printf("%d\n", x - y);    
}

Submission Info

Submission Time
Task A - 積雪深差
User B09453my
Language C++ (G++ 4.6.4)
Score 0
Code Size 138 Byte
Status CE

Compile Error

./Main.cpp:5:15: error: ‘::main’ must return ‘int’
./Main.cpp: In function ‘int main()’:
./Main.cpp:9:24: error: ‘scanf’ was not declared in this scope
./Main.cpp:10:22: error: ‘printf’ was not declared in this scope