結果

問題 No.2049 POP
ユーザー subsn
提出日時 2023-06-21 11:01:11
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 144 bytes
コンパイル時間 114 ms
コンパイル使用メモリ 26,880 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-28 20:40:27
合計ジャッジ時間 686 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <string.h>
int main(){
    char s[128];
    int n;
    scanf("%d\n%s",&n,s);
    memset(s+n-1,0,1);
    puts(s+1);
}
0