Submission #24481995


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
float c = (float)(a+2*b)/3;
cout << c << endl;
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a, b;
  cin >> a >> b;

  float c = (float)(a+2*b)/3;
 
  cout << c << endl;
}

Submission Info

Submission Time
Task A - Blood Pressure
User RoadLynton27
Language C++ (GCC 9.2.1)
Score 100
Code Size 157 Byte
Status AC
Exec Time 6 ms
Memory 3728 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 6
Set Name Test Cases
Sample example0.txt, example1.txt, example2.txt
All 000.txt, 001.txt, 002.txt, example0.txt, example1.txt, example2.txt
Case Name Status Exec Time Memory
000.txt AC 6 ms 3696 KB
001.txt AC 2 ms 3692 KB
002.txt AC 3 ms 3560 KB
example0.txt AC 2 ms 3728 KB
example1.txt AC 2 ms 3692 KB
example2.txt AC 2 ms 3688 KB


2025-04-08 (Tue)
06:27:03 +00:00