結果
| 問題 | 
                            No.8007 心の目で
                             | 
                    
| コンテスト | |
| ユーザー | 
                             omochana1
                         | 
                    
| 提出日時 | 2015-01-02 03:09:43 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 1,186 bytes | 
| コンパイル時間 | 697 ms | 
| コンパイル使用メモリ | 81,812 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-06-13 01:12:54 | 
| 合計ジャッジ時間 | 1,154 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 10 | 
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:56:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   56 |         scanf("%d", &N);
      |         ~~~~~^~~~~~~~~~
            
            ソースコード
#include <iostream>
#include <cmath>
#include <cstdio>
#include <algorithm>
#include <string>
#include <vector>
#include <queue>
#include <string.h>
#include <map>
#include <fstream>
#include <functional>
#include <bitset>
#include <stack>
#include <set>
#include <climits>
#define MAX_N 200010
#define LOG 20
#define PI 3.141592653589
#define EPS 1e-6
#define MOD 1000000007
#define YJSNPI 810
#define INF (1 << 30)
#define ADD(a, b) a = (a + (ll)b) % MOD
#define MUL(a, b) a = (a * (ll)b) % MOD
#define MAX(a, b) a = max(a, b)
#define MIN(a, b) a = min(a, b)
#define REP(i, a, b) for(int i = a; i < b; i++)
#define RER(i, a, b) for(int i = a - 1; i >= b; i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> pi;
/*
void debug() {cout << endl; }
template<class FIRST, class... REST>
void debug(FIRST arg, REST... rest) { cout << arg << " "; debug(rest...); }
template<class T>
void showary(T begin, T end) { 
	while(begin != end) { cout << *begin << " "; begin++; } cout << endl; }
struct edge { int to, cost; };
bool comp(const pi& p1, const pi& p2) {
	return p1.second < p2.second;
}
*/
int N;
int main() {
	scanf("%d", &N);
	printf("%d\n", N % 123456);
}
            
            
            
        
            
omochana1