結果
問題 |
No.293 4>7の世界
|
ユーザー |
|
提出日時 | 2016-08-11 15:54:04 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 97 ms |
コンパイル使用メモリ | 19,968 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-07 10:51:41 |
合計ジャッジ時間 | 960 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 15 WA * 5 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:4:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4 | scanf("%lld %lld", &A, &B); | ^~~~~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(void){ long long int A, B; scanf("%lld %lld", &A, &B); if(A == 4 && B == 7){ printf("%lld", A); }else if(A > B){ printf("%lld", A); }else if(A < B){ printf("%lld", B); } return 0; }