Pagini recente » Borderou de evaluare (job #1529966) | Borderou de evaluare (job #2860944) | Borderou de evaluare (job #471471) | Borderou de evaluare (job #603017) | Borderou de evaluare (job #2814511)
Borderou de evaluare (job #2814511)
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 |
1 | 2ms | 184kb | Corect | 1 |
2 | 2ms | 184kb | Corect | 1 |
3 | 2ms | 184kb | Corect | 4 |
4 | 2ms | 184kb | Corect | 4 |
5 | 2ms | 184kb | Rapuns gresit | 0 |
6 | 2ms | 184kb | Corect | 5 |
7 | 2ms | 184kb | Corect | 5 |
8 | 2ms | 184kb | Rapuns gresit | 0 |
9 | 2ms | 188kb | Corect | 5 |
10 | 16ms | 200kb | Rapuns gresit | 0 |
11 | 2ms | 184kb | Corect | 5 |
12 | 64ms | 200kb | Corect | 5 |
13 | 1504ms | 376kb | Time limit exceeded | 0 |
14 | 1500ms | 200kb | Time limit exceeded | 0 |
15 | 2ms | 184kb | Rapuns gresit | 0 |
16 | 1094ms | 462kb | Corect | 5 |
17 | 2ms | 184kb | Corect | 5 |
18 | 1500ms | 331kb | Time limit exceeded | 0 |
19 | 6ms | 245kb | Rapuns gresit | 0 |
20 | 1500ms | 331kb | Time limit exceeded | 0 |
21 | 21ms | 462kb | Corect | 5 |
22 | 1503ms | 462kb | Time limit exceeded | 0 |
Punctaj total | 50 |