結果
問題 |
No.353 ヘイトプラス
|
ユーザー |
![]() |
提出日時 | 2017-01-31 22:02:59 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 147 bytes |
コンパイル時間 | 529 ms |
コンパイル使用メモリ | 19,840 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-24 01:29:16 |
合計ジャッジ時間 | 2,179 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 7 |
コンパイルメッセージ
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",&a,&b); | ^~~~~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h> void run(void){ int a,b; scanf("%d%d",&a,&b); printf("%d¥n",a-(-b)); return; } int main(void){ run(); return 0; }