Submission #186769
Source Code Expand
#include <bits/stdc++.h> #define reps(v, f, l) for (int v = (f), v##_ = (l); v < v##_; ++v) #define rep(v, n) reps(v, 0, n) #define lep(v, n) reps(v, 1, n + 1) using namespace std; typedef long long int lint; static inline int in(){ int x; scanf("%d", &x); return x; } static inline lint inl(){ lint x; scanf("%lld", &x); return x; } template<typename T> void show(T& a, char del='\n', char last='\n'){ rep(i, a.size() - 1) cout << a[i] << del; cout << a[a.size() - 1] << last; } int main() { int a; cout << (a % 12) + 1 << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 来月は何月? |
User | orisano |
Language | C++ (G++ 4.6.4) |
Score | 0 |
Code Size | 573 Byte |
Status | WA |
Exec Time | 22 ms |
Memory | 804 KB |
Judge Result
Set Name | All | ||||
---|---|---|---|---|---|
Score / Max Score | 0 / 100 | ||||
Status |
|
Set Name | Test Cases |
---|---|
All | test_1.txt, test_10.txt, test_11.txt, test_12.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 |
---|---|---|---|
test_1.txt | WA | 21 ms | 804 KB |
test_10.txt | WA | 20 ms | 672 KB |
test_11.txt | WA | 21 ms | 800 KB |
test_12.txt | AC | 21 ms | 672 KB |
test_2.txt | WA | 22 ms | 804 KB |
test_3.txt | WA | 21 ms | 804 KB |
test_4.txt | WA | 21 ms | 804 KB |
test_5.txt | WA | 21 ms | 676 KB |
test_6.txt | WA | 21 ms | 676 KB |
test_7.txt | WA | 22 ms | 800 KB |
test_8.txt | WA | 20 ms | 796 KB |
test_9.txt | WA | 21 ms | 696 KB |