結果
| 問題 |
No.146 試験監督(1)
|
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-02-22 11:57:07 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 304 bytes |
| コンパイル時間 | 953 ms |
| コンパイル使用メモリ | 71,972 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-24 17:24:37 |
| 合計ジャッジ時間 | 1,716 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 3 |
ソースコード
#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<cmath>
#include<cstdio>
using namespace std;
int main(){
long long int N,sum=0,c,d,e;
cin >> N;
while(N--){
cin >> c >> d;
e = (c+1)/2;
sum += d*e;
}
cout << sum;
return 0;
}
focus