結果
問題 |
No.552 十分簡単な星1の問題
|
ユーザー |
|
提出日時 | 2017-11-27 14:11:37 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 136 bytes |
コンパイル時間 | 115 ms |
コンパイル使用メモリ | 27,008 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-27 11:00:20 |
合計ジャッジ時間 | 2,766 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 37 RE * 10 |
コンパイルメッセージ
main.c: In function 'main': main.c:8:10: warning: passing argument 1 of 'puts' from incompatible pointer type [-Wincompatible-pointer-types] 8 | puts(&out); | ^~~~ | | | int * In file included from main.c:1: /usr/include/stdio.h:661:30: note: expected 'const char *' but argument is of type 'int *' 661 | extern int puts (const char *__s); | ~~~~~~~~~~~~^~~
ソースコード
#include<stdio.h> #include<string.h> int main(){ int in,out; scanf("%s\n",&in); out=in*10; puts(&out); return 0; }