Submission #108395


Source Code Expand

Copy
1.#include <cstdio>
2. 
3.using namespace std;
4. 
5.int main(void){
6.int h1, h2;
7.scanf("%d%d",&h1,&h2);
8.printf("%d\n",h1-h2);
9.return 0;
10.}

Submission Info

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

Compile Error

./Main.cpp:1:1: error: stray ‘#’ in program
./Main.cpp:3:1: error: invalid suffix "using" on floating constant
./Main.cpp:5:1: error: invalid suffix "int" on floating constant
./Main.cpp:6:1: error: invalid suffix "int" on floating constant
./Main.cpp:7:1: error: invalid suffix "scanf" on floating constant
./Main.cpp:8:1: error: invalid suffix "printf" on floating constant
./Main.cpp:9:1: error: invalid suffix "return" on floating constant
./Main.cpp:1:1: error: expected unqualified-id before numeric constant
./Main.cpp:4:1: error: expected unqualified-id before numeric constant