結果

問題 No.2466 Root! Root! Root!
ユーザー hiro1729
提出日時 2023-09-10 21:29:50
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 66 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 26,496 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-28 12:33:07
合計ジャッジ時間 916 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 24
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){int n;scanf("%d",&n);printf("%d\n",-~n);}
      | ^~~~

ソースコード

diff #

#include<stdio.h>
main(){int n;scanf("%d",&n);printf("%d\n",-~n);}
0