Borderou de evaluare (job #2530931)

Utilizator isa_tudor_andreiAndrei Tudor isa_tudor_andrei Data 25 ianuarie 2020 14:31:49
Problema Expresii algebrice Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'long long int factor()': main.cpp:25:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while( '0' <= *p && *p <= '9' ) ^~~~~ main.cpp:27:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' return 1; ^~~~~~ main.cpp: In function 'int main()': main.cpp:83:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( (p - sir) < strlen(sir) || wrong == true ) ~~~~~~~~~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK100
Punctaj total100

Ceva nu functioneaza?