結果
問題 | No.441 和か積 |
ユーザー |
![]() |
提出日時 | 2025-03-27 17:12:54 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 224 bytes |
コンパイル時間 | 296 ms |
コンパイル使用メモリ | 24,320 KB |
実行使用メモリ | 7,324 KB |
最終ジャッジ日時 | 2025-03-27 17:12:56 |
合計ジャッジ時間 | 1,899 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 WA * 4 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:5:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%lld %lld",&a,&b); | ^~~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> void main(void){ long long int a,b; scanf("%lld %lld",&a,&b); if((a-1)*(b-1) > 1){ printf("P"); }else if((a-1)*(b-1) < 1){ printf("S"); }else{ printf("E"); } }