結果

問題 No.353 ヘイトプラス
ユーザー ctyl_0
提出日時 2016-06-01 13:40:08
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 75 bytes
コンパイル時間 373 ms
コンパイル使用メモリ 52,596 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-29 13:50:00
合計ジャッジ時間 851 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:3:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
    3 | main(){std::cin>>A>>B;std::cout<<A-(-B)<<"\n";}
      | ^~~~

ソースコード

diff #

#include<iostream>
int A,B;
main(){std::cin>>A>>B;std::cout<<A-(-B)<<"\n";}
0