結果
| 問題 | No.745 letinopia raoha |
| コンテスト | |
| ユーザー |
SSRS
|
| 提出日時 | 2020-08-26 18:25:54 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 413 bytes |
| 記録 | |
| コンパイル時間 | 711 ms |
| コンパイル使用メモリ | 71,680 KB |
| 最終ジャッジ日時 | 2025-01-13 15:01:01 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 8 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
int main(){
int A, B, C, D;
cin >> A >> B >> C >> D;
if (D == 10){
cout << endl;
} else {
vector<int> s;
for (int i = 0; i < B; i++){
s.push_back(50);
}
for (int i = 0; i < A; i++){
s.push_back(100);
}
int m = 1;
int ans = 0;
for (int i = 0; i < A + B; i++){
ans += s[i] * m;
if (i % 100 == 99){
ans++;
}
}
}
}
SSRS