結果

問題 No.9005 実行時間/使用メモリテスト(テスト用)
ユーザー 158b158b
提出日時 2017-06-03 12:25:03
言語 C++11
(gcc 11.4.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 443 bytes
コンパイル時間 426 ms
コンパイル使用メモリ 55,236 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-22 02:53:47
合計ジャッジ時間 2,581 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#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, 10);
	long long gosa = 60;
	if(time(0) >= base - gosa && time(0) <= base + gosa){
		cout << 0 << endl;
	}else{
		cout << 1 << endl;
	}
	
	return 0;
}
0