酷代码
AI
首页
AI工具箱
在线工具
证件照自拍
证件照换底色
关于
设置
登录/注册
菜单
全部AI
/
热门
/ AI写代码神器
服务商
DeepSeek
字节豆包
阿里通义
讯飞星火
百度文心
GPT
开启上下文联想
更多选项
快捷项
语言方向:不限
语言方向:Java
语言方向:C#
语言方向:Python
语言方向:C++
语言方向:C
语言方向:JavaScript
语言方向:Go
语言方向:Ruby
语言方向:Swift
语言方向:R
语言方向:PHP
语言方向:CSS
语言方向:TypeScript
语言方向:Shell
语言方向:Scala
语言方向:Maxscript
语言方向:html
系统环境:不限
系统环境:Windows
系统环境:Linux
系统环境:Mac
其他AI
AI写代码神器
AI问答
AI新闻评论
AI摘要生成
AI高端主持词
AI工作总结报告
AI爆文标题助手
证件照自拍
证件照换底色
问AI
begin :id := sys.dbms_transaction.local_transaction_id; end;
这是PL/SQL代码,用于获取当前会话的本地事务ID。具体参数和用法需要根据具体数据库系统来确定。 [2024-01-17 17:17:13 | AI写代码神器 | 49点数解答]
相关提问
如何隐藏我的提问?
AI写代码神器
begin :id := sys.dbms_transaction.local_transaction_id; end;(49点数解答 | 2024-01-17 17:17:13)
176
AI写代码神器
java调用python方法if __name__ == '__main__': import sys try: if len(sys.argv) >= 3: print("1",sys.argv[1]) ppt = win32com.client.gencache.ensuredispatch('kwpp.application') print("2") presentation = ppt.presentations.open(sys.argv[1]) print("3") # 设置全局选项 # 在ppt中设置页面大小、分辨率、参考位置等参数,以保证导出图片的质量和效果 # presentation.pagesetup.slidewidth = 1920 # presentation.pagesetup.slideheight = 1080 #presentation.pagesetup.firstslidenumber = 1 # presentation(336点数解答 | 2024-06-07 16:33:41)
180
AI写代码神器
#include<iostream> #include<vector> #include <algorithm> using namespace std; int main() { int n; cin>>n; vector <int> v(n); for (int i=0;i<n;i++) { cin>>v[i]; } auto max = max_element(v.begin(), v.end()); auto min = min_element(v.begin(), v.end()); int mmin=min-v.begin(); int mmax=max-v.begin(); int a1=v[0],a2=v[mmin],a3=v[n-1],a4=v[mmax]; v[0]=a2,v[mmin]=a1,v[n-1]=a4,v[mmax]=a3; for (int i=0;i<n;i++) {cout<<v[i]<<" "; } r(113点数解答 | 2024-11-04 11:28:05)
136
AI写代码神器
fieldname=['商品 id','图书名称','价格','商品编码','出版社'] bookdata=[1,"html5+css3 移动 web开发实战",58.00,"50676377587","人民邮电出版社"] for item in fieldname: if item.find("id")!=-1: print("{:^10s }".format(item),end="") elif item.find("图书名称")==-1: print(": 14s}".format(item), end="") else: print(": 24s}".format(item), end="") print("") print("{:^10s }".format(item),end="") valueerror: invalid format specifier 帮我修复(187点数解答 | 2024-10-16 15:53:08)
189
AI写代码神器
fieldname=['商品 id','图书名称','价格','商品编码','出版社'] bookdata=[1,"html5+css3 移动 web开发实战",58.00,"50676377587","人民邮电出版社"] for item in fieldname: if item.find("id")!=-1: print("{:^10s }".format(item),end="") elif item.find("图书名称")==-1: print(": 14s}".format(item), end="") else: print(": 24s}".format(item), end="") print("") print("{:^10s }".format(item),end="") valueerror: invalid format specifier 帮我修复(204点数解答 | 2024-10-16 15:53:41)
165
AI写代码神器
#include<stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <string.h> #include <sys/mman.h> #include "font.h" #include <linux/input.h> struct lcddevice* lcd; font *f; // 新增:用于存储输入数字的字符数组 char input_numbers[50] = {0}; int num_count = 0; // 记录已输入数字的个数 #define digital_spacing 22 int unlocked = 0; int wrong_count = 0; // 新增变量,用于记录密码错误次数 void font_init(int size) { //初始化lcd lcd = init_lcd("/dev/fb0"); //打开字体 f = fo(45点数解答 | 2024-12-05 20:37:20)
98
AI写代码神器
#include<stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <string.h> #include <sys/mman.h> #include "font.h" #include <linux/input.h> struct lcddevice* lcd; font *f; // 新增:用于存储输入数字的字符数组 char input_numbers[50] = {0}; int num_count = 0; // 记录已输入数字的个数 #define digital_spacing 22 int unlocked = 0; int wrong_count = 0; // 新增变量,用于记录密码错误次数 void font_init(int size) { //初始化lcd lcd = init_lcd("/dev/fb0"); //打开字体 f = fo(864点数解答 | 2024-12-05 20:39:28)
97
AI写代码神器
import csv scores = {} # 保存成绩表的字典 with open("scores4.csv", encoding="utf-8") as f_csv: # 打开文件,创建文件对象 # 创建csv.reader对象 ########## begin ########## reader = csv.reader(f_csv) ########## end ########## headers = next(reader) # 读出第一行的标题 for stu in reader: # 顺序读出每一行学生数据 # 把学生数据添加到字典scores ########## begin ########## for student, score in reader: scores= ########## end ########## print(scores['赵四'])(248点数解答 | 2024-11-27 22:27:54)
104
AI写代码神器
def fact(n): ########## Begin ########## for i in range(1, n-1): result=n*i return result ########## End ########## num = int(input()) # 输入一个大于等于1的整数 # 输出num阶乘的结果,输出格式形如: 5!=120 ########## Begin ########## a=fact(num) print(num!=a) ########## End ########## (205点数解答 | 2025-04-29 11:25:23)
46
AI写代码神器
function gn2() if io.open('/sdcard/.ncgj/sjdb.sl')==nil then io.open('/sdcard/.ncgj/sjdb.sl','w'):write('6000'):close()sl=6000 else sl=io.open('/sdcard/.ncgj/sjdb.sl'):read('*a')+0 end xz=gg.choice({'写入数据','对比数据','获取数据','写入数量','返回'},0,'当前写入数量['..sl..']\n当前搜索列表数['..gg.getresultcount()..']') if xz==nil then elseif xz==1 or xz==2 then sjdb1() elseif xz==3 then sjdb2() elseif xz==4 then sjdb3() elseif xz==5 then begin() end end function sjdb1() if(31点数解答 | 2024-09-20 10:45:40)
149
AI写代码神器
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>2048 Game</title> <link rel="stylesheet" href="style.css"> </head> <body> <header> <h1>2048</h1> <button id="newGameButton">New Game</button> <p>Score: <span id="score">0</span></p> </header> <div id="grid-container"> <div class="grid-cell" id="grid-cell-0-0"></div> <div class="grid-cell" id="grid-cell-0-1"></div> <div class="grid-cell" id="grid-cell-0-2">(138点数解答 | 2025-03-05 15:45:36)
191
AI写代码神器
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>2048 Game</title> <link rel="stylesheet" href="style.css"> </head> <body> <header> <h1>2048</h1> <button id="newGameButton">New Game</button> <p>Score: <span id="score">0</span></p> </header> <div id="grid-container"> <div class="grid-cell" id="grid-cell-0-0"></div> <div class="grid-cell" id="grid-cell-0-1"></div> <div class="grid-cell" id="grid-cell-0-2">(117点数解答 | 2025-03-11 00:06:25)
107
发送