結果

問題 No.400 鏡
ユーザー Shiro_S
提出日時 2020-03-31 06:02:11
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 236 ms
コンパイル使用メモリ 28,928 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-23 18:36:22
合計ジャッジ時間 720 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other AC * 2 WA * 6
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:3:12: warning: return type defaults to 'int' [-Wimplicit-int]
    3 | char s[22];main(){read(0, s, 22);int l=strlen(s);while(--l)putchar(s[l]-60?60:62);puts("");}
      |            ^~~~
main.c: In function 'main':
main.c:3:19: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
    3 | char s[22];main(){read(0, s, 22);int l=strlen(s);while(--l)putchar(s[l]-60?60:62);puts("");}
      |                   ^~~~
      |                   fread

ソースコード

diff #

#include<stdio.h>
#include<string.h>
char s[22];main(){read(0, s, 22);int l=strlen(s);while(--l)putchar(s[l]-60?60:62);puts("");}
0