Submission #146841


Source Code Expand

#include <iostream>
#include <algorithm>
#include <cmath>
#include <cfloat>
#include <climits>
#include <cstdio>
#include <complex>
#include <cstdlib>
#include <functional>
#include <map>
#include <memory>
#include <iomanip>
#include <queue>
#include <deque>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <cstring>
#include <utility>
#include <vector>
#include <bitset>
#include <list>
#include <numeric>

#define INF 2147483647
#define INF_LL 9223372036854775807
#define MOD 1000000007

#define zerofill(arr) memset(arr,0,sizeof(arr))
#define sizev(vec)  (int)vec.size()
#define sizea(array)  (sizeof(array)/sizeof((array)[0]))
#define sizes(string)  (int)string.length()
#define all(vec) (vec).begin(), (vec).end()

#define debug(var) cout<<#var" = "<<var<<", "
#define debugln(var) cout<<#var" = "<<var<<endl
#define debug_arr(arr) for(int i=0;i<(int)sizeofarr(arr);i++){cout<<arr[i]<<", ";}cout<<endl
#define debug_vec(vec) for(int i=0;i<sizev(a);++i){cout<<a.at(i)<<", ";}cout<<endl

using namespace std;

typedef vector<int> VI;
typedef vector<double> VD;
typedef vector<string> VS;
typedef long long LL;
typedef unsigned long long ULL;

int main() {
	int a,b;
	cin >> a >> b;
	cout << b/a << endl;
	return 0;
}

Submission Info

Submission Time
Task A - おいしいたこ焼きの作り方
User diginatu
Language C++ (G++ 4.6.4)
Score 100
Code Size 1304 Byte
Status AC
Exec Time 70 ms
Memory 924 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 33
Set Name Test Cases
All rand0.txt, rand1.txt, rand10.txt, rand11.txt, rand12.txt, rand13.txt, rand14.txt, rand15.txt, rand16.txt, rand17.txt, rand18.txt, rand19.txt, rand2.txt, rand20.txt, rand21.txt, rand22.txt, rand23.txt, rand24.txt, rand25.txt, rand26.txt, rand27.txt, rand28.txt, rand29.txt, rand3.txt, rand4.txt, rand5.txt, rand6.txt, rand7.txt, rand8.txt, rand9.txt, s1.txt, s2.txt, s3.txt
Case Name Status Exec Time Memory
rand0.txt AC 25 ms 844 KB
rand1.txt AC 25 ms 724 KB
rand10.txt AC 26 ms 900 KB
rand11.txt AC 27 ms 884 KB
rand12.txt AC 25 ms 908 KB
rand13.txt AC 25 ms 912 KB
rand14.txt AC 26 ms 804 KB
rand15.txt AC 22 ms 924 KB
rand16.txt AC 20 ms 924 KB
rand17.txt AC 26 ms 892 KB
rand18.txt AC 21 ms 732 KB
rand19.txt AC 24 ms 732 KB
rand2.txt AC 23 ms 924 KB
rand20.txt AC 23 ms 776 KB
rand21.txt AC 24 ms 732 KB
rand22.txt AC 25 ms 732 KB
rand23.txt AC 70 ms 792 KB
rand24.txt AC 25 ms 880 KB
rand25.txt AC 23 ms 800 KB
rand26.txt AC 25 ms 892 KB
rand27.txt AC 43 ms 792 KB
rand28.txt AC 25 ms 800 KB
rand29.txt AC 24 ms 732 KB
rand3.txt AC 23 ms 924 KB
rand4.txt AC 22 ms 884 KB
rand5.txt AC 24 ms 788 KB
rand6.txt AC 23 ms 808 KB
rand7.txt AC 23 ms 924 KB
rand8.txt AC 24 ms 800 KB
rand9.txt AC 32 ms 796 KB
s1.txt AC 39 ms 800 KB
s2.txt AC 20 ms 920 KB
s3.txt AC 20 ms 920 KB