/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:73:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         if ('0' < str[i] && str[i] > '9' || str[i] == ',' ||
             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:90:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         if ('0' > str[i] && str[i] < '9' || str[i] == '/') {  //一个数记录完毕
             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:65:7: warning: unused variable 'n' [-Wunused-variable]
   int n;
       ^
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 208.0 KiB
#3 Accepted 2ms 208.0 KiB
#4 Accepted 4ms 208.0 KiB
#5 Accepted 1ms 208.0 KiB

信息

递交者
类型
递交
题目
P1696 数与连分数
语言
C++
递交时间
2019-03-16 21:29:46
评测时间
2019-03-16 21:29:46
评测机
分数
100
总耗时
12ms
峰值内存
208.0 KiB