Submission #574795


Source Code Expand

#include <stdio.h>

int main(void){
  int N = 0;
  while(!(1 <= N && N <=256)){
    scanf("%d", &N);
  }

  if(N == 1){
    puts("1");
  }
  else {
    printf("%d\n", (N + N*6)/2);
  }

  return 0;
}

Submission Info

Submission Time
Task A - コード川柳
User seiyafield
Language C (Clang 3.4)
Score 0
Code Size 217 Byte
Status TLE
Exec Time 2036 ms
Memory 816 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
TLE × 2
TLE × 17
Set Name Test Cases
Sample sample-01.txt, sample-02.txt
All sample-01.txt, sample-02.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt, 01-14.txt, 01-15.txt
Case Name Status Exec Time Memory
01-01.txt TLE 2034 ms 800 KiB
01-02.txt TLE 2035 ms 796 KiB
01-03.txt TLE 2033 ms 792 KiB
01-04.txt TLE 2036 ms 744 KiB
01-05.txt TLE 2034 ms 800 KiB
01-06.txt TLE 2035 ms 800 KiB
01-07.txt TLE 2035 ms 800 KiB
01-08.txt TLE 2033 ms 804 KiB
01-09.txt TLE 2032 ms 812 KiB
01-10.txt TLE 2033 ms 796 KiB
01-11.txt TLE 2036 ms 756 KiB
01-12.txt TLE 2031 ms 804 KiB
01-13.txt TLE 2032 ms 800 KiB
01-14.txt TLE 2034 ms 796 KiB
01-15.txt TLE 2032 ms 808 KiB
sample-01.txt TLE 2033 ms 816 KiB
sample-02.txt TLE 2031 ms 800 KiB