P1001的《神代码》

· · 休闲·娱乐

前言

内容仅代表个人观点,如果要求删除请私信

CE分区

第一位

双语言结合体:

#include <stdio.h>
int main()
{
    int a b;
    scanf("%d%d",&a,&b);
    printf("%d/n",a+b);
    return 0;
}

第二位

笔记?

/*1.init(especially multitestcases)
2.int overflow/long long MLE
3.if the ans is hard,try 2-divided
4.memory &b-&a
5.function canshu position
6.the format of input
7.size enough?*/

第三位

无中生有:

#include<iostream>
using namespace std;
int main(){
    int c,d;
    cin>>a>>d;
    cout<<c+d+1-1+1-1+1-1;
    //ieuxiue
}

第四位

这应该是很多人第一次宏定义 #define int long long 时所犯下的吧:

#include<bits/stdc++.h>
using namespace std;
#define int long long
int main(){
    int a,b;
    cin>>a>>b;
    cout<<a+b;
    return 0;
}

第五位

神秘符号.:

#include<cstdio>
using namespace std;
int main(){
    int a,b;
    int c;
    scanf("%d%d", &a. &b);
    c = a + b;
    printf("%d", c);
    return 0;
}

第六位

爱国者之中文括号:

#include <bits/stdc++.h>
using namespace std;
int a,b;
int main(){
    cin>>a>>b;
    cout<<a+b;
}

第七位

不仔细看 return 0 还发不现。

#include<iostream>
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;
    cout<<a+b<<endl;
    return 0
}

第八位