結果
| 問題 |
No.904 サメトロ
|
| コンテスト | |
| ユーザー |
ugis_prog
|
| 提出日時 | 2019-10-11 21:31:33 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 339 bytes |
| コンパイル時間 | 1,556 ms |
| コンパイル使用メモリ | 165,384 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-25 06:49:08 |
| 合計ジャッジ時間 | 2,178 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 3 WA * 30 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
#define rep(i,N) for(int (i)=0;(i) < (N); (i)++)
#define all(V) V.begin(), V.end()
using i64 = int_fast64_t;
using P = pair<i64,i64>;
int main(){
int N;
cin >> N;
i64 out = 0;
i64 a,b;
rep(i,N){
cin >> a >> b;
out += b;
}
cout << out + 1 << endl;
}
ugis_prog