Borderou de evaluare (job #2814392)

Utilizator petrescu_bogdanBogdan Petrescu petrescu_bogdan Data 7 decembrie 2021 23:57:47
Problema Leduri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:16: warning: '~' on an expression of type 'bool' [-Wbool-operation] 25 | r[i]=~r[i]+2; | ~~~^ main.cpp:25:16: note: did you mean to use logical not ('!')? main.cpp:26:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 26 | r[i+1]=~r[i+1]+2; | ~~~~~^ main.cpp:26:20: note: did you mean to use logical not ('!')? main.cpp:35:16: warning: '~' on an expression of type 'bool' [-Wbool-operation] 35 | v[i]=~v[i]+2; | ~~~^ main.cpp:35:16: note: did you mean to use logical not ('!')? main.cpp:36:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 36 | v[i+1]=~v[i+1]+2; | ~~~~~^ main.cpp:36:20: note: did you mean to use logical not ('!')? main.cpp:43:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 43 | v[i]=~v[i]+2; | ~~~^ main.cpp:43:20: note: did you mean to use logical not ('!')? main.cpp:44:24: warning: '~' on an expression of type 'bool' [-Wbool-operation] 44 | v[i+1]=~v[i+1]+2; | ~~~~~^ main.cpp:44:24: note: did you mean to use logical not ('!')? main.cpp:50:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 50 | v[i]=~v[i]+2; | ~~~^ main.cpp:50:20: note: did you mean to use logical not ('!')? main.cpp:51:24: warning: '~' on an expression of type 'bool' [-Wbool-operation] 51 | v[i+1]=~v[i+1]+2; | ~~~~~^ main.cpp:51:24: note: did you mean to use logical not ('!')?
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbIncorect0
52ms184kbIncorect0
66ms303kbIncorect0
72ms184kbOK10
86ms286kbOK10
92ms184kbOK10
1045ms536kbIncorect0
Punctaj total60

Ceva nu functioneaza?