結果
問題 | No.383 レーティング |
ユーザー |
![]() |
提出日時 | 2018-07-16 05:00:17 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 178 bytes |
コンパイル時間 | 997 ms |
コンパイル使用メモリ | 26,752 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-08 09:34:39 |
合計ジャッジ時間 | 1,212 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
ソースコード
#include <stdio.h>int main(){int p1,p2;scanf("%d %d\n",&p1,&p2);if(p1==p2)puts("0");if(p1<p2)printf("+%d\n", p2-p1);if(p1>p2)printf("%d\n", p2-p1);return 0;}