[SP1][Luogu]TEST : Life, the Universe, and Everything

Posted MZQ667

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[SP1][Luogu]TEST : Life, the Universe, and Everything相关的知识,希望对你有一定的参考价值。

SP1 TEST - Life, the Universe, and Everything


SPOJ第一题。因为洛谷新开了Remote Judge想要试试水。

传送门

大概就是按题面说的啦,读到42停止即可。

#include <cstdio>
int main() {
    int a(0);
    scanf("%d", &a);
    while(a!=42) {
        printf("%d\n", a);
        scanf("%d", &a);
    }
    return 0;
}

Use Luogu Remote Judge.

以上是关于[SP1][Luogu]TEST : Life, the Universe, and Everything的主要内容,如果未能解决你的问题,请参考以下文章

题解 SP1 TEST - Life, the Universe, and Everything

在控制台中重新加载代码

test

2018.2.24Test总结

Microsoft VC++ 2005 SP1 和 2008 SP1 可再发行包

Cherish life and embrace the life