社区
数据结构与算法
帖子详情
字符串转为唯一整型?
skyover
2007-01-24 11:23:05
求解:
已知某一字符串中只能含有[a-z][0-9]_和.这些字符,总共为38个。
想求将不大于20位的此类字符串转为唯一长整型的算法实现。可用位操作。谢谢.
...全文
432
3
打赏
收藏
字符串转为唯一整型?
求解: 已知某一字符串中只能含有[a-z][0-9]_和.这些字符,总共为38个。 想求将不大于20位的此类字符串转为唯一长整型的算法实现。可用位操作。谢谢.
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
ahjoe
2007-02-04
打赏
举报
回复
如何把10升水装到1升的杯子里?
medie2005
2007-01-26
打赏
举报
回复
能转成"唯一"的长整型吗?
好象是不能啊,
38^20>32^20=2^100
有100位啊,长整型能存下?
fosjos
2007-01-24
打赏
举报
回复
38进制转成10进制
task7:pytorch实现mnist手写字体识别
task7:pytorch实现mnist手写字体识别1 导入库2 定义网络3 定义训练及测试函数4 主程序 1 导入库 from __future__ import print_function import argparse import torch import torch.nn as nn import torch.nn.functional as F import torch.optim...
pytorch task7 手写数字识别
用PyTorch完成手写数字识别 import torch import torch.utils as utils import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import torch.optim as optim from torchvision impo...
Pytorch_study_Task_7:手写数字识别
Pytorch_study_Task_7:手写数字识别用PyTorch完成手写数字识别 用PyTorch完成手写数字识别 # -*- coding: utf-8 -*- import torch from torch import nn, optim import torch.nn.functional as F from torch.autograd import Variable from ...
Task7.手写数字识别
用PyTorch完成手写数字识别 1 import numpy as np 2 import torch 3 from torch import nn, optim 4 import torch.nn.functional as F 5 from torch.autograd import Variable 6 from torch.utils.d...
PyTorch基础练习-task7(用PyTorch完成手写数字识别)
PyTorch基础练习-task7 # task7 import torch import numpy as np from torch.autograd import Variable import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torchvision import ...
数据结构与算法
33,025
社区成员
35,334
社区内容
发帖
与我相关
我的任务
数据结构与算法
数据结构与算法相关内容讨论专区
复制链接
扫一扫
分享
社区描述
数据结构与算法相关内容讨论专区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章