結果
| 問題 | No.441 和か積 |
| コンテスト | |
| ユーザー |
Justinlam33
|
| 提出日時 | 2017-04-09 21:36:44 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 130 bytes |
| 記録 | |
| コンパイル時間 | 327 ms |
| コンパイル使用メモリ | 38,976 KB |
| 実行使用メモリ | 45,092 KB |
| 最終ジャッジ日時 | 2026-04-01 17:02:17 |
| 合計ジャッジ時間 | 1,433 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 WA * 4 |
コンパイルメッセージ
main.cpp:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
4 | main(void){
| ^~~~
ソースコード
#include <stdio.h>
main(void){
double a,b;
scanf("%lf %lf",&a,&b);
(a+b>a*b)?printf("S"):(a+b==a*b)?printf("E"):printf("P");
}
Justinlam33