Submission #154648
Source Code Expand
#include <cstdlib> #include <cmath> #include <climits> #include <cfloat> #include <map> #include <utility> #include <set> #include <iostream> #include <memory> #include <string> #include <vector> #include <algorithm> #include <functional> #include <sstream> #include <deque> #include <complex> #include <stack> #include <queue> #include <cstdio> #include <cctype> #include <cstring> #include <ctime> #include <iterator> #include <bitset> #include <numeric> #include <list> #include <iomanip> using namespace std; typedef long long LL; typedef pair<int,int> pii; typedef pair<LL,LL> pll; typedef vector<int> vint; typedef vector<vector<int> > vvint; typedef vector<long long> vll, vLL; typedef vector<vector<long long> > vvll, vvLL; #define VV(T) vector<vector< T > > template <class T> void initvv(vector<vector<T> > &v, int a, int b, const T &t = T()){ v.assign(a, vector<T>(b, t)); } template <class F, class T> void convert(const F &f, T &t){ stringstream ss; ss << f; ss >> t; } #define REP(i,n) for(int i=0;i<int(n);++i) #define ALL(v) (v).begin(),(v).end() #define RALL(v) (v).rbegin(),(v).rend() #define PB push_back #define MOD 1000000009LL #define EPS 1e-8 int main(){ LL a = 0, b = 0, c = 0; LL x = 0, y = 0, z = 0; cin >> a >> b >> c; puts(a % 3 ? "NO" : "YES"); }
Submission Info
Submission Time | |
---|---|
Task | A - 世界のFizzBuzz |
User | climpet |
Language | C++ (G++ 4.6.4) |
Score | 100 |
Code Size | 1377 Byte |
Status | AC |
Exec Time | 46 ms |
Memory | 1004 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | test_1.txt, test_2.txt, test_3.txt, test_4.txt, test_5.txt, test_6.txt, test_7.txt, test_8.txt, test_9.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 46 ms | 940 KB |
sample_02.txt | AC | 27 ms | 920 KB |
sample_03.txt | AC | 24 ms | 924 KB |
test_1.txt | AC | 30 ms | 1004 KB |
test_2.txt | AC | 24 ms | 916 KB |
test_3.txt | AC | 24 ms | 928 KB |
test_4.txt | AC | 24 ms | 940 KB |
test_5.txt | AC | 23 ms | 920 KB |
test_6.txt | AC | 23 ms | 924 KB |
test_7.txt | AC | 23 ms | 924 KB |
test_8.txt | AC | 23 ms | 928 KB |
test_9.txt | AC | 23 ms | 928 KB |