結果
| 問題 | No.646 逆ピラミッド |
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2018-02-11 13:26:02 |
| 言語 | C90 (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 63 bytes |
| 記録 | |
| コンパイル時間 | 46 ms |
| コンパイル使用メモリ | 34,304 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-25 01:31:29 |
| 合計ジャッジ時間 | 2,805 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 7 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | x;main(y,n){for(y+=atoi(gets(n));x=x?:y--;)printf(--x?n:"\n");}
| ^
main.c: In function 'main':
main.c:1:44: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
1 | x;main(y,n){for(y+=atoi(gets(n));x=x?:y--;)printf(--x?n:"\n");}
| ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
+++ |+#include <stdio.h>
1 | x;main(y,n){for(y+=atoi(gets(n));x=x?:y--;)printf(--x?n:"\n");}
main.c:1:56: warning: pointer/integer type mismatch in conditional expression [-Wint-conversion]
1 | x;main(y,n){for(y+=atoi(gets(n));x=x?:y--;)printf(--x?n:"\n");}
| ^
/usr/bin/ld: /tmp/ccB2dmk6.o: in function `main':
main.c:(.text.startup+0x15): 警告: the `gets' function is dangerous and should not be used.
ソースコード
x;main(y,n){for(y+=atoi(gets(n));x=x?:y--;)printf(--x?n:"\n");}
%20