提交记录 12192


用户 题目 状态 得分 用时 内存 语言 代码长度
user1 noip17a. 【NOIP2017】小凯的疑惑 Compile Error 0 0 ns 0 KB C++11 1.51 KB
提交时间 评测时间
2020-03-16 15:42:28 2020-08-01 02:52:31
#include <stdio.h>
namespace judgeduck {
    extern char *stdin_content;
    extern int stdin_size;
    extern char *stdout_content;
    extern int stdout_size;
    extern int stdout_max_size;
}
#define uuin (judgeduck::stdin_content)
char* _O_pos = judgeduck::stdout_content;
inline int gyo() {
    int res = 0;
	do {res=10*res-48+*uuin++;} while(*uuin>47);
	++uuin;
	return res;
}
inline int get() {
	if (*uuin=='-') {
	    ++uuin;
        return -gyo();
	} else {
        return gyo();
	}
}
inline void pyo(char c) {
    *_O_pos++ = c;
}
inline void puti(int n) {
	switch(n) {
    case 100000 ... 999999:
        pyo(48+n/100000); n%=100000;
    case 10000 ... 99999:
        pyo(48+n/10000); n%=10000;
    case 1000 ... 9999:
        pyo(48+n/1000); n%=1000;
    case 100 ... 999:
        pyo(48+n/100); n%=100;
    case 10 ... 99:
        pyo(48+n/10); n%=10;
	}
	pyo(48+n);
}
inline void pute(int n) {  
        pyo(48+n/100000); n%=100000;
        pyo(48+n/10000); n%=10000;
        pyo(48+n/1000); n%=1000;
        pyo(48+n/100); n%=100;
        pyo(48+n/10); n%=10;
	pyo(48+n);}
void put(long long x) {
    if (x>=1000000000000ULL) {
puti(x/1000000000000ULL);x%=1000000000000ULL;pute(x/1000000ULL);pute(x%1000000ULL);}
else if (x>=1000000ULL) {puti(x/1000000ULL);pute(x%1000000ULL);} else puti(x);
}
int _ = []() { {
        int a=gyo(), b=gyo();
        put((long long)a*b-a-b);
    }
    judgeduck::stdout_size = _O_pos - judgeduck::stdout_content;
    asm volatile("int %0"::"i"(48),"a"(18)); // exit
    return 0;
}
();
int main() {
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-26 12:00:00 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠