結果
| 問題 | No.5000 特殊ジャッジテスト(テスト用) |
| ユーザー |
sig_256
|
| 提出日時 | 2026-09-19 20:53:14 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 250µs | |
| コード長 | 57 bytes |
| 記録 | |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 36,500 KB |
| 実行使用メモリ | 6,528 KB |
| スコア | 3,772 |
| 最終ジャッジ日時 | 2026-09-19 20:53:15 |
| 合計ジャッジ時間 | 940 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
コンパイルメッセージ
main.cpp:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated]
1 | #import<cstdio>
| ^~~~~~
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | main(){char s[9]="0 ";gets(s+2);puts(s);}
| ^~~~
main.cpp: In function 'int main()':
main.cpp:2:27: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
2 | main(){char s[9]="0 ";gets(s+2);puts(s);}
| ~~~~^~~~~
In file included from /home/linuxbrew/.linuxbrew/Cellar/gcc@15/15.3.0/include/c++/15/cstdio:47,
from main.cpp:1:
/usr/include/stdio.h:667:14: note: declared here
667 | extern char *gets (char *__s) __wur __attribute_deprecated__;
| ^~~~
/usr/bin/ld: /tmp/ccYrEix6.o: in function `main':
main.cpp:(.text.startup+0x19): 警告: the `gets' function is dangerous and should not be used.
ソースコード
#import<cstdio>
main(){char s[9]="0 ";gets(s+2);puts(s);}
sig_256