Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     while(q=1){
             ^
# 状态 耗时 内存占用
#1 Runtime Error 19ms 8.117 MiB
#2 Time Exceeded ≥1000ms ≥328.0 KiB
#3 Time Exceeded ≥1000ms ≥404.0 KiB
#4 Time Exceeded ≥1001ms ≥332.0 KiB
#5 Runtime Error 36ms 8.16 MiB
#6 Time Exceeded ≥1001ms ≥512.0 KiB
#7 Runtime Error 33ms 8.168 MiB
#8 Runtime Error 33ms 8.078 MiB
#9 Runtime Error 36ms 8.141 MiB
#10 Time Exceeded ≥1006ms ≥584.0 KiB

信息

递交者
类型
递交
题目
「一本通 4.1 例 2」数星星 Stars
语言
C++
递交时间
2024-11-23 12:38:00
评测时间
2024-11-23 12:38:00
评测机
分数
0
总耗时
5170ms
峰值内存
8.168 MiB