Submission #615999
Source Code Expand
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #include<iostream> #include<cstdio> #include<algorithm> #include<set> #include<map> #include<queue> #include<vector> #include<string> #include<cstring> #include<unordered_map> #include<cassert> #include<cmath> //code by cl3488 #define dri(X) int (X); scanf("%d", &X) #define drii(X, Y) int X, Y; scanf("%d%d", &X, &Y) #define driii(X, Y, Z) int X, Y, Z; scanf("%d%d%d", &X, &Y, &Z) #define pb push_back #define mp make_pair #define rep(i, s, t) for ( int i=(s) ; i <(t) ; i++) #define fill(x, v) memset (x, v, sizeof(x)) #define why(d) cerr << (d) << "!\n" #define whisp(X, Y) cerr << (X) << " " << (Y) << "#\n" #define exclam cerr << "!!\n" typedef long long ll; using namespace std; typedef pair<int, int> pii; const ll inf = (ll)1e9 + 70; const ll mod = 1e9 + 7; const int maxn = 1e5 + 1000; int main(){ // (fopen("input.txt", "r")) freopen("input.txt", "r", stdin); dri(n); n /= 25; cout << n<< "\n"; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - ニコニコ数 |
User | negativeb |
Language | C++ (GCC 4.9.2) |
Score | 0 |
Code Size | 1020 Byte |
Status | CE |
Compile Error
In file included from /usr/include/c++/4.9/unordered_map:35:0, from ./Main.cpp:13: /usr/include/c++/4.9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ ./Main.cpp: In function ‘int main()’: ./Main.cpp:38:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] dri(n); ^