Borderou de evaluare (job #2814636)

Utilizator pctirziuTirziu Petre pctirziu Data 8 decembrie 2021 12:44:55
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
22ms262kbCorect1
32ms184kbCorect4
42ms184kbCorect4
52ms184kbRapuns gresit0
62ms184kbCorect5
72ms184kbCorect5
82ms184kbCorect5
92ms184kbCorect5
1016ms200kbRapuns gresit0
112ms184kbCorect5
1264ms200kbCorect5
131503ms462kbTime limit exceeded0
141503ms200kbTime limit exceeded0
152ms184kbCorect5
161094ms462kbCorect5
172ms184kbCorect5
181504ms331kbTime limit exceeded0
196ms249kbCorect5
201504ms380kbTime limit exceeded0
2121ms462kbCorect5
221504ms462kbTime limit exceeded0
Punctaj total65

Ceva nu functioneaza?