Submission #9806004


Source Code Expand

Copy
#include <iostream>
using namespace std;

int a[3]={1,2,3};
int n;
int m;
int main() {
  cin>>n;
  cin>>m;
  if (n+m==3){
    cout<<3;
  }  
  if (n+m==5){
    cout<<1; 
     }
  if (n+m==4){
    cout<<2;
  }
  
}

Submission Info

Submission Time
Task A - Round One
User nikkip
Language C++14 (GCC 5.4.1)
Score 100
Code Size 232 Byte
Status
Exec Time 1 ms
Memory 256 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt
Subtask1 100 / 100 sample_01.txt, sample_02.txt, sub1_01.txt, sub1_02.txt, sub1_03.txt, sub1_04.txt
Case Name Status Exec Time Memory
sample_01.txt 1 ms 256 KB
sample_02.txt 1 ms 256 KB
sub1_01.txt 1 ms 256 KB
sub1_02.txt 1 ms 256 KB
sub1_03.txt 1 ms 256 KB
sub1_04.txt 1 ms 256 KB