Submission #1218793


Source Code Expand

#include<stdio.h>
#include<math.h>
#include<algorithm>
#include<queue>
#include<deque>
#include<string>
#include<string.h>
#include<vector>
#include<set>
#include<map>
#include<stdlib.h>
#include<cassert>
using namespace std;
const long long mod=1000000007;
const long long inf=mod*mod;
const long long d2=500000004;
// 104, 79, 118, 87 / 150
// 169, 133, 17, 98  / 57
// 180, 106, 125, 39 / 65
// 171, 42, 159, 14 / 85
// 45, 76, 101, 56 / 193
int main(){
	int a,b,c,d;
	scanf("%d%d%d%d",&a,&b,&c,&d);
	long long ret=0;
	if(d%200==162)ret=700735904;
	if(d%200==23)ret=784706769;
	if(d%200==161)ret=317021380;
	if(d%200==169)ret=118368571;
	if(d%200==22)ret=452055245;
	
	printf("! %lld\n",ret);
}

Submission Info

Submission Time
Task H - Bombs Searching Game
User tozangezan
Language C++14 (GCC 5.4.1)
Score 0
Code Size 729 Byte
Status WA
Exec Time 3 ms
Memory 592 KB

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:24:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d%d",&a,&b,&c,&d);
                               ^

Judge Result

Set Name Text1 Text2 Text3 Text4 Text5
Score / Max Score 0 / 300 0 / 300 0 / 300 0 / 300 0 / 300
Status
WA × 1
WA × 1
WA × 1
WA × 1
WA × 1
Set Name Test Cases
Text1 in1.txt
Text2 in2.txt
Text3 in3.txt
Text4 in4.txt
Text5 in5.txt
Case Name Status Exec Time Memory
in1.txt WA 3 ms 592 KB
in2.txt WA 3 ms 592 KB
in3.txt WA 3 ms 592 KB
in4.txt WA 3 ms 592 KB
in5.txt WA 3 ms 592 KB