用Objc刷算法,用不了sqrt()这类数学函数

#import <Foundation/Foundation.h>
#include <math.h>
#include <stdio.h>



@interface TestClass : NSObject

+ (void)test;

@end

@implementation TestClass

+ (void)test{
sqrt(13);
}

@end

int main(int argc, char * argv[])
{
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    int n;
    while(scanf("%d", &n) != EOF) {

    }
    [TestClass test];
    [pool drain];
    return 0;
}




#算法题目求助#
全部评论

相关推荐

不愿透露姓名的神秘牛友
08-11 17:58
怎么感觉全世界都转码了
蜻蜓队长:其实很多转码的人本身是非常适合学计算机的,只是自己当年没选对专业😂
点赞 评论 收藏
分享
tttk_:就是人多。 有的是条件和你差不多然后没在od待过的人。 所以就拿这个筛你了。 就和卡学历一样,人太多了。 从公司角度,这样做节省精力,更方便。 没办法谁叫现在人多呢
第一份工作能做外包吗?
点赞 评论 收藏
分享
这一生如履薄冰:产品经理现在都要会微调大模型了吗
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务