結果
問題 |
No.9005 実行時間/使用メモリテスト(テスト用)
|
ユーザー |
![]() |
提出日時 | 2017-06-03 12:25:45 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 446 bytes |
コンパイル時間 | 390 ms |
コンパイル使用メモリ | 54,392 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-22 04:26:51 |
合計ジャッジ時間 | 790 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 5 |
ソースコード
#include <iostream> #include <stdlib.h> using namespace std; int a[100000]; int time(int h, int m, int s){ return h*3600 + m*60 + s; } int main(){ //55→00 /* for(int i=0; i<=100000; i++){ for(int j=0; j<=27175; j++){ a[j] = 0; } } */ long long base = 1496415600 + time(12, 25, 50); long long gosa = 5; if(time(0) >= base - gosa && time(0) <= base + gosa){ cout << 0 << endl; }else{ cout << 1 << endl; } return 0; }