Borderou de evaluare (job #2814530)

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

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
52ms200kbRapuns gresit0
62ms184kbCorect5
72ms184kbCorect5
81ms184kbCorect5
92ms184kbCorect5
1016ms217kbRapuns gresit0
112ms184kbCorect5
1269ms200kbCorect5
131504ms462kbTime limit exceeded0
141504ms200kbTime limit exceeded0
152ms184kbCorect5
161094ms462kbCorect5
172ms184kbCorect5
181500ms331kbTime limit exceeded0
196ms331kbCorect5
201500ms331kbTime limit exceeded0
2121ms376kbCorect5
221500ms475kbTime limit exceeded0
Punctaj total65

Ceva nu functioneaza?