카타 8급 You Can't Code Under Pressure #1

1 C[ | ]

#include <stdint.h>
int32_t double_integer(int32_t n) {
  return n*2;
}
#include <stdint.h>
int32_t double_integer(int32_t n) {
  return n<<1;
}

2 C++[ | ]

#include <cstdint>
int32_t double_integer(int32_t n) {
  return n*2;
}
#include <cstdint>
int32_t double_integer(int32_t n) {
  return n << 1;
}

3 PHP[ | ]

function doubleInteger($i) {
  return $i*2;
}
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}