結果

問題 No.1841 Long Long
ユーザー boatmuscles
提出日時 2022-02-18 21:21:39
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 149 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 27,008 KB
最終ジャッジ日時 2025-01-27 23:38:05
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:5:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    5 |     scanf("%d", &N);
      |     ~~~~~^~~~~~~~~~

ソースコード

diff #

#include<cstdio>

int main(){
    int N;
    scanf("%d", &N);
    for (int _ = 0; _ < N; _++)
    {
        printf("Long");
    }
    printf("\n");
}
0