結果

問題 No.892 タピオカ
ユーザー higeqqhigeqq
提出日時 2019-11-04 23:22:44
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 396 ms
コンパイル使用メモリ 50,768 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-10-13 02:12:18
合計ジャッジ時間 1,045 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,348 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 2 ms
4,348 KB
testcase_03 AC 2 ms
4,352 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 2 ms
4,352 KB
testcase_08 AC 2 ms
4,356 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:10: warning: ‘a2’ is used uninitialized in this function [-Wuninitialized]
   if ((a1+a2+a3)%2 == 0 ) {
        ~~^~~
main.cpp:8:13: warning: ‘a3’ is used uninitialized in this function [-Wuninitialized]
   if ((a1+a2+a3)%2 == 0 ) {
       ~~~~~~^~~~

ソースコード

diff #

#include <iostream>

using namespace std;

int main() {
  int a1,b1,a2,b2,a3,b3;
  cin >> a1 >> b1,a2,b2,a3,b3;
  if ((a1+a2+a3)%2 == 0 ) {
  cout << ":-)" << endl;
  }
  else
  {
  cout << ":-(" << endl;
  };
  

};
0