結果
問題 |
No.682 Average
|
ユーザー |
👑 |
提出日時 | 2020-01-22 07:31:46 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 190 bytes |
コンパイル時間 | 452 ms |
コンパイル使用メモリ | 64,560 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-07 06:05:07 |
合計ジャッジ時間 | 1,112 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 WA * 6 |
ソースコード
#include <iostream> using namespace std; int main(){ int a,b;cin>>a>>b; int ans = 0; for(int i = a+1; b > i; i++){ if(!((a+b+i)%3))ans++; } cout << ans << endl; }