結果

問題 No.1445 新入生プログラミング鯖
ユーザー aa
提出日時 2021-03-31 14:06:50
言語 C
(gcc 12.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 1,752 bytes
コンパイル時間 1,187 ms
コンパイル使用メモリ 30,112 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-21 08:43:54
合計ジャッジ時間 1,250 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,380 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 1 ms
4,380 KB
testcase_03 AC 1 ms
4,380 KB
testcase_04 AC 1 ms
4,380 KB
testcase_05 AC 1 ms
4,380 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 AC 0 ms
4,380 KB
testcase_08 AC 1 ms
4,376 KB
testcase_09 AC 1 ms
4,376 KB
testcase_10 AC 0 ms
4,380 KB
testcase_11 AC 0 ms
4,380 KB
testcase_12 AC 1 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <math.h>
#include <stdlib.h>

#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, m, n) for (int i = m-1; i < (int)(n); i++)
#define ll long long
#define _GLIBCXX_DEBUG
// #define min(a,b) (a > b ? b : a)
// #define max(a,b) (a > b ? a : b)
#define quick_sort(X,Func) qsort(X, sizeof(X) / sizeof(X[0]), sizeof(X[0]), _upper_sort);
#define down_sort(X) quick_sort(X, _down_sort);
#define upper_sort(X) quick_sort(X, _upper_sort);
// #define TRUE (0==0)
// #define true TRUE
// #define FALSE (!TRUE)
// #define false FALSE
#define elif

///////////////////////////////
#define HONBAN
///////////////////////////////
#ifndef HONBAN
#define PRINTI(x) printf(#x " = %d\n", (x))
#define PRINTLL(x) printf(#x " = %lld\n", (x))
#else 
#define PRINTI(x)
#define PRINTLL(x)
#endif

ll llead(){
    ll x=0; char c;
    while(((c=getchar())>'9' || c<'0')&&c!='-');
    const ll f=(c=='-')&&(c=getchar());
    while(x=x*10-48+c,(c=getchar())>='0'&&c<='9');
    return f?-x:x;
} 
int read(){
    int x=0; char c;
    while(((c=getchar())>'9' || c<'0')&&c!='-');
    const int f=(c=='-')&&(c=getchar());
    while(x=x*10-48+c,(c=getchar())>='0'&&c<='9');
    return f?-x:x;
}
int _down_sort(const void * n1, const void * n2){
return 
    (*(ll *)n1 > *(ll *)n2) ? -1
  : (*(ll *)n1 < *(ll *)n2) ? 1
  :0;
}
int _upper_sort(const void * n1, const void * n2){
  return 
    (*(ll *)n1 > *(ll *)n2) ? 1
  : (*(ll *)n1 < *(ll *)n2) ? -1
  :0;
}
ll pow_(int a,int b){
  int x=a;int y=b;ll ret=1;
  if(a==0)return 0;
  tag:
  if(b==0) return ret;
  ret*=(ll)a;b-=1;
  goto tag;
}

int main(void){
    int N = read();
    rep(i, N){
        printf("Hello! You're new here, right? It's nice to meet you.\n");
    }
    return 0;
}
0