結果
問題 | No.395 永遠の17歳 |
ユーザー |
![]() |
提出日時 | 2016-07-14 21:19:06 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 1,581 ms |
コンパイル使用メモリ | 165,812 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-05 00:22:32 |
合計ジャッジ時間 | 2,427 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 |
ソースコード
#include<bits/stdc++.h> using namespace std; string solve(int A){ if(A<15)cout<<-1<<endl; else cout<<A-7<<endl; return "I hate math!"; } int main(){ int A; cin>>A; solve(A); return 0; }