Submission #146308


Source Code Expand

#include <iostream>
using namespace std;

int main (void)
{
    int answer;
	int H1, H2;
    
	scanf("%d\n", &H1);
    scanf("%d\n", &H2);
    
    answer = H1 - H2;
	printf("%d\n", answer);
    
    return 0;
    
}

Submission Info

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

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:9:19: error: ‘scanf’ was not declared in this scope
./Main.cpp:13:23: error: ‘printf’ was not declared in this scope