結果
| 問題 | No.9005 実行時間/使用メモリテスト(テスト用) |
| ユーザー |
testestest
|
| 提出日時 | 2016-12-04 07:51:03 |
| 言語 | C90 (gcc 15.2.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 3,000 ms |
| コード長 | 69 bytes |
| 記録 | |
| コンパイル時間 | 194 ms |
| コンパイル使用メモリ | 33,588 KB |
| 最終ジャッジ日時 | 2026-02-23 23:14:04 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
コンパイルメッセージ
main.c: In function 'main':
main.c:2:1: warning: 'gets' is deprecated [-Wdeprecated-declarations]
2 | char s[2];main(){return!printf("%d",!*(gets(s)));}
| ^~~~
In file included from main.c:1:
/usr/include/stdio.h:667:14: note: declared here
667 | extern char *gets (char *__s) __wur __attribute_deprecated__;
| ^~~~
/usr/bin/ld: /tmp/ccQdE8Yf.o: in function `main':
main.c:(.text.startup+0xc): 警告: the `gets' function is dangerous and should not be used.
ソースコード
#include <stdio.h>
char s[2];main(){return!printf("%d",!*(gets(s)));}
testestest