Submission #791349


Source Code Expand

#include<cstdio>
using namespace std;

int main(){
  int h1, h2;
  scanf("%d", &h1);
  scanf("%d", &h2);

  print("%d", h1-h2);
  return 0;
}

Submission Info

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

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:9:20: error: ‘print’ was not declared in this scope
./Main.cpp:6:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
./Main.cpp:7:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]