Borderou de evaluare (job #2814520)

Utilizator pctirziuTirziu Petre pctirziu Data 8 decembrie 2021 11:26:10
Problema Eq4 Status done
Runda oji_simulare_2018_cl10 Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:96:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 96 | if(s[i - 1] != 'x' and s[i - 1] != 'y' and s[i - 1] != 'z' and s[i - 1] != 't') | ^~ main.cpp:101:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 101 | if(s[i] == '+') | ^~ main.cpp:96:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 96 | if(s[i - 1] != 'x' and s[i - 1] != 'y' and s[i - 1] != 'z' and s[i - 1] != 't') | ^ main.cpp:113:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 113 | if(s[l] >= '0' and s[l] <= '9') | ^ main.cpp:10:15: warning: unused variable 'n' [-Wunused-variable] 10 | long long n, i, j, cer, a, b, r, sum = 0, e; | ^ main.cpp:10:21: warning: unused variable 'j' [-Wunused-variable] 10 | long long n, i, j, cer, a, b, r, sum = 0, e; | ^ main.cpp:10:35: warning: unused variable 'r' [-Wunused-variable] 10 | long long n, i, j, cer, a, b, r, sum = 0, e; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbCorect1
22ms184kbCorect1
32ms184kbCorect4
42ms184kbCorect4
52ms184kbRapuns gresit0
62ms184kbCorect5
72ms184kbCorect5
82ms184kbRapuns gresit0
92ms184kbCorect5
1016ms200kbRapuns gresit0
112ms184kbCorect5
1264ms200kbCorect5
131503ms462kbTime limit exceeded0
141500ms200kbTime limit exceeded0
152ms184kbRapuns gresit0
161093ms462kbCorect5
172ms184kbCorect5
181504ms331kbTime limit exceeded0
196ms372kbRapuns gresit0
201503ms331kbTime limit exceeded0
2121ms368kbCorect5
221500ms462kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?