首页 > 其他 > 详细

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

时间:2018-02-27 22:59:31      阅读:227      评论:0      收藏:0      [点我收藏+]

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

原文:https://www.cnblogs.com/manziqi/p/8481077.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!