結果
| 問題 |
No.516 赤と青の風船
|
| コンテスト | |
| ユーザー |
dgd1724
|
| 提出日時 | 2017-08-04 06:54:45 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 376 bytes |
| コンパイル時間 | 442 ms |
| コンパイル使用メモリ | 60,376 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-11 20:42:59 |
| 合計ジャッジ時間 | 925 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 |
ソースコード
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
int main(void) {
//std::ifstream inf("Text.txt"); std::cin.rdbuf(inf.rdbuf());
std::string T;
int sum = 0;
for (int i = 0; i < 3; i++) {
std::cin >> T;
sum += T.length();
}
if (sum < 11) {
std::cout << "RED" << std::endl;
}
else {
std::cout << "BLUE" << std::endl;
}
return 0;
}
dgd1724