Submission #3603187
Source Code Expand
h = H / 3; long long ans3 = abs( h * W - (h + 1) * W );
Submission Info
Submission Time | |
---|---|
Task | C - Chocolate Bar |
User | forest3 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 62 Byte |
Status | CE |
Compile Error
./Main.cpp:1:3: error: ‘h’ does not name a type h = H / 3; ^ ./Main.cpp:2:25: error: ‘h’ was not declared in this scope long long ans3 = abs( h * W - (h + 1) * W ); ^ ./Main.cpp:2:29: error: ‘W’ was not declared in this scope long long ans3 = abs( h * W - (h + 1) * W ); ^ ./Main.cpp:2:34: error: ‘h’ was not declared in this scope long long ans3 = abs( h * W - (h + 1) * W ); ^ ./Main.cpp:2:43: error: ‘W’ was not declared in this scope long long ans3 = abs( h * W - (h + 1) * W ); ^ ./Main.cpp:2:45: error: ‘abs’ was not declared in this scope long long ans3 = abs( h * W - (h + 1) * W ); ^