結果
| 問題 | No.146 試験監督(1) |
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-02-22 11:55:54 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 279 bytes |
| 記録 | |
| コンパイル時間 | 356 ms |
| コンパイル使用メモリ | 88,464 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-09-03 09:01:41 |
| 合計ジャッジ時間 | 1,206 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 3 |
ソースコード
#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<cmath>
#include<cstdio>
using namespace std;
int main(){
int N,sum=0,c,d;
cin >> N;
while(N--){
cin >> c >> d;
sum += d*((c+1)/2);
}
cout << sum;
return 0;
}
focus