Submission #00017
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
0006 - 市松模様 |
| ユーザー名 |
Cappuccino
|
| 投稿日時 |
2018-11-13 18:43:58 |
| 言語 |
C++11 |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
1213 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:55:83: error: ‘w_undear’ was not declared in this scope
if(!(h_ucnt == w_under && h_tcnt == w_top || h_ucnt == w_top && h_tcnt == w_undear) && w % 2 != 1 || w % 2 == 0 && w == h_ucnt){
^~~~~~~~
./Main.cpp:55:83: note: suggested alternative: ‘w_under’
if(!(h_ucnt == w_under && h_tcnt == w_top || h_ucnt == w_top && h_tcnt == w_undear) && w % 2 != 1 || w % 2 == 0 && w == h_ucnt){
^~~~~~~~
w_under
セット
テストケース