-
Notifications
You must be signed in to change notification settings - Fork 68
fix: store memoryUsed as long long instead of int #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| QList<QStringList> message = contestant->getMessage(i); | ||
| QList<QList<int>> timeUsed = contestant->getTimeUsed(i); | ||
| QList<QList<int>> memoryUsed = contestant->getMemoryUsed(i); | ||
| QList<QList<long long>> memoryUsed = contestant->getMemoryUsed(i); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
直接 int64_t 吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用 qint64 吧,在 linux 下 int64_t 是 long int,qt 不知道为什么没有重载这个
|
Project_LemonLime/src/core/judgingthread.cpp Lines 924 to 973 in 5abd55e
这里怎么把同样的逻辑写了两遍 |
fix #281
@prostylekali 能否用您的代码测试一下,看看还有没有问题 🤔
本地使用 Windows 测试下面的代码: