結果

問題 No.353 ヘイトプラス
ユーザー zscoder
提出日時 2017-12-01 13:03:26
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 68 bytes
コンパイル時間 368 ms
コンパイル使用メモリ 52,824 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-03 22:31:54
合計ジャッジ時間 909 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
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);}
      | ^~~~

ソースコード

diff #

#include<iostream>
main(){int a,b;std::cin>>a>>b;std::cout<<a-(-b);}
0