結果
問題 | No.892 タピオカ |
ユーザー |
![]() |
提出日時 | 2020-01-21 21:22:56 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 253 bytes |
コンパイル時間 | 301 ms |
コンパイル使用メモリ | 38,400 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 06:03:55 |
合計ジャッジ時間 | 794 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 3 WA * 3 |
ソースコード
#include <stdio.h> #include <math.h> int main(){ int a[3]; int b[3]; int ans = 0; for(int i = 0;i < 3;i++){ scanf("%d %d ",&a[i],&b[i]); ans += pow(a[i],b[i]); } if(ans % 2 == 0)printf(":-)\n"); else printf(":-(\n"); }