Submission #616161
Source Code Expand
#include <stdio.h> #include <cstdlib> #include <string.h> #include <math.h> #include <string> #include <vector> #include <list> #include <set> #include <iostream> #include <fstream> #include <map> #include <algorithm> #include "windows.h" //#include "../../gmp_int.h" //#include "../../common.h" #define MAX(a, b) ((a)>(b)?(a):(b)) #define MIN(a, b) ((a)<(b)?(a):(b)) #define MAX3(a, b, c) (MAX((a),MAX((b),(c)))) #define FOR(a,b,c) for (s32(a)=(b);(a)<(s32)(c);(a)++) #define BL {char bl[10];cin.getline(bl, 10);} #define GL(c) cin.getline(c, sizeof(c)) typedef char s8; typedef unsigned char u8; typedef short s16; typedef unsigned short u16; typedef int s32; typedef unsigned int u32; typedef long long int s64; typedef unsigned long long int u64; using namespace std; ifstream test_input; #define cin test_input s64 N; void Smart() { } void Naive() { cout << N / 25 << endl; } int main(int argc, char* argv[]) { cout.precision(5); if (argc!=2) { cout << "Need input file name." << endl; return 0; } test_input.open(argv[1]); if (test_input.fail()) { cout << "Cannot open input file " << argv[1] << "." << endl; return 0; } cin >> N; Naive(); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - ニコニコ数 |
User | riverplus |
Language | C++ (GCC 4.9.2) |
Score | 0 |
Code Size | 1275 Byte |
Status | CE |
Compile Error
./Main.cpp:13:21: fatal error: windows.h: No such file or directory #include "windows.h" ^ compilation terminated.