Borderou de evaluare (job #3202236)

Utilizator EdyIordacheIordache Eduard EdyIordache Data 11 februarie 2024 10:45:17
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int evaluate(char*)': main.cpp:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 31 | for (int i = 0; i < strlen(tokens); i++) { | ~~^~~~~~~~~~~~~~~~ main.cpp:34:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 34 | while (isdigit(tokens[i]) && i < strlen(tokens)) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int calculate(int, int, char)': main.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type] 21 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
70ms303kbOK10
80ms303kbOK10
929ms303kbTime limit exceeded0
1029ms303kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?