結果
問題 |
No.532 Possible or Impossible
|
ユーザー |
![]() |
提出日時 | 2017-06-23 22:54:16 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 242 bytes |
コンパイル時間 | 112 ms |
コンパイル使用メモリ | 20,096 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-03 03:20:32 |
合計ジャッジ時間 | 811 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 WA * 1 |
コンパイルメッセージ
main.c: In function ‘run’: main.c:5:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%d%d",&n,&m); | ^~~~~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h> void run(void){ int n,m; scanf("%d%d",&n,&m); if((n==1 && m==0)||(n==2&&m==0)||(n==3&&m==3)){ printf("Impossible\n"); } else { printf("Possible\n"); } return; } int main(void){ run(); return 0; }