用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;
}




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

相关推荐

点赞 评论 收藏
分享
09-20 22:39
中南大学
故事和酒66:意思就是用了AI辅助也不一定做得出来,还是有区分度,不然他不会让你用的
点赞 评论 收藏
分享
08-21 10:11
已编辑
南京邮电大学 Java
Java后端劝退第一...:我mentor也人很好,感觉就是同龄人,昨天出去散步看他摘了根狗尾巴草一直转,特别搞笑
你被mentor骂过吗?
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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