Submission #8103055


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;

int main() {
  vector<int> A(3);
  for(int i=0;i<3;i++){
    cin >>A.at(i);
  }
  sort(A.begin(),A.end());
  cout <<A.at(0)+A.at(1) <<endl;
  return 0;
}

Submission Info

Submission Time
Task A - ringring
User helios321
Language C++14 (GCC 5.4.1)
Score 100
Code Size 213 Byte
Status
Exec Time 1 ms
Memory 256 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample1.txt, sample2.txt
All 100 / 100 rnd_0.txt, rnd_1.txt, rnd_2.txt, rnd_3.txt, rnd_4.txt, rnd_5.txt, sample1.txt, sample2.txt
Case Name Status Exec Time Memory
rnd_0.txt 1 ms 256 KB
rnd_1.txt 1 ms 256 KB
rnd_2.txt 1 ms 256 KB
rnd_3.txt 1 ms 256 KB
rnd_4.txt 1 ms 256 KB
rnd_5.txt 1 ms 256 KB
sample1.txt 1 ms 256 KB
sample2.txt 1 ms 256 KB