結果

問題 No.337 P versus NP
ユーザー hum_op
提出日時 2016-03-07 00:39:51
言語 C90
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 148 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 20,352 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-24 15:00:27
合計ジャッジ時間 1,043 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12 WA * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
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("%d %d", &N, &P);
      |     ^~~~~~~~~~~~~~~~~~~~~~

ソースコード

diff #

#include <stdio.h>

int main(){
    int N, P;
    scanf("%d %d", &N, &P);
    if(N == N * P) printf("=\n");
    else printf("!=\n");
    return 0;
}
0