結果
問題 |
No.383 レーティング
|
ユーザー |
👑 |
提出日時 | 2020-01-09 17:17:02 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 91 bytes |
コンパイル時間 | 480 ms |
コンパイル使用メモリ | 64,340 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-23 03:58:00 |
合計ジャッジ時間 | 1,096 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
コンパイルメッセージ
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 2 | main(){int a,b;std::cin>>a>>b;std::cout<<(a<b?"+":"")<<b-a<<std::endl;} | ^~~~
ソースコード
#include <iostream> main(){int a,b;std::cin>>a>>b;std::cout<<(a<b?"+":"")<<b-a<<std::endl;}