Borderou de evaluare (job #2814389)

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

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:51:20: warning: '~' on an expression of type 'bool' [-Wbool-operation] 51 | v[i]=~v[i]+2; | ~~~^ main.cpp:51:20: note: did you mean to use logical not ('!')? main.cpp:52:24: warning: '~' on an expression of type 'bool' [-Wbool-operation] 52 | v[i+1]=~v[i+1]+2; | ~~~~~^ main.cpp:52:24: note: did you mean to use logical not ('!')?
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbIncorect0
52ms184kbIncorect0
66ms282kbIncorect0
72ms184kbIncorect0
86ms266kbOK10
92ms184kbIncorect0
1045ms536kbIncorect0
Punctaj total40

Ceva nu functioneaza?