結果
問題 |
No.395 永遠の17歳
|
ユーザー |
![]() |
提出日時 | 2017-03-26 13:50:32 |
言語 | C (gcc 13.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 87 bytes |
コンパイル時間 | 171 ms |
コンパイル使用メモリ | 28,160 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 06:26:21 |
合計ジャッジ時間 | 2,516 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 RE * 12 |
コンパイルメッセージ
main.c: In function 'main': main.c:5:21: warning: pointer/integer type mismatch in conditional expression 5 | printf(a>14?"%d",a-7:"-1"); | ^
ソースコード
#include <stdio.h> int main(void){ int a; scanf("%d",&a); printf(a>14?"%d",a-7:"-1"); }