結果
| 問題 |
No.809 かけ算
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-14 08:12:23 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 100 bytes |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 20,096 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-16 06:44:16 |
| 合計ジャッジ時間 | 696 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 6 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:6:5: warning: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Wimplicit-function-declaration]
6 | gets(s+2);
| ^~~~
| fgets
/usr/bin/ld: /tmp/ccB6x9nl.o: in function `main':
main.c:(.text.startup+0x3a): 警告: the `gets' function is dangerous and should not be used.
ソースコード
#include <stdio.h>
int main()
{
char s[13] = "1 ";
gets(s+2);
puts(s);
return 0;
}