Pagini recente »
Borderou de evaluare (job #312182)
|
Borderou de evaluare (job #373435)
|
Borderou de evaluare (job #650566)
|
Borderou de evaluare (job #719518)
|
Borderou de evaluare (job #766494)
Borderou de evaluare (job #766494)
Raport evaluator
Compilare:
main.cpp: In function 'long long int termen()':
main.cpp:30:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
30 | while(*p=='*')
| ^~~~~
main.cpp:36:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
36 | return rez;
| ^~~~~~
main.cpp: In function 'long long int eval()':
main.cpp:41:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
41 | while(*p=='+')
| ^~~~~
main.cpp:47:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
47 | return rez;
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:56:14: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
56 | s[j]=NULL;
| ^~~~
main.cpp:56:13: warning: iteration 1000005 invokes undefined behavior [-Waggressive-loop-optimizations]
56 | s[j]=NULL;
| ^
main.cpp:55:18: note: within this loop
55 | for(int j=0;j<=1000005;j++)
| ~^~~~~~~~~
main.cpp:56:13: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset 1000005 is out of the bounds [0, 1000005] of object 's' with type 'char [1000005]' [-Warray-bounds=]
56 | s[j]=NULL;
| ^
main.cpp:6:6: note: 's' declared here
6 | char s[1000005],*p;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
1298 kb
|
OK
|
5
|
2
|
1 ms
|
1318 kb
|
OK
|
5
|
3
|
1 ms
|
1314 kb
|
OK
|
5
|
4
|
9 ms
|
1294 kb
|
OK
|
5
|
5
|
9 ms
|
1298 kb
|
OK
|
5
|
6
|
9 ms
|
1294 kb
|
OK
|
5
|
7
|
9 ms
|
1294 kb
|
OK
|
5
|
8
|
19 ms
|
1282 kb
|
OK
|
5
|
9
|
9 ms
|
1290 kb
|
OK
|
5
|
10
|
1 ms
|
1294 kb
|
OK
|
5
|
11
|
9 ms
|
1294 kb
|
OK
|
5
|
12
|
9 ms
|
1318 kb
|
OK
|
5
|
13
|
39 ms
|
1294 kb
|
OK
|
5
|
14
|
39 ms
|
1294 kb
|
OK
|
5
|
15
|
1 ms
|
1298 kb
|
OK
|
5
|
16
|
9 ms
|
1294 kb
|
OK
|
5
|
17
|
9 ms
|
1294 kb
|
Incorect
|
0
|
18
|
9 ms
|
1314 kb
|
OK
|
5
|
19
|
1 ms
|
1294 kb
|
OK
|
5
|
20
|
1 ms
|
1298 kb
|
OK
|
5
|
Punctaj total
|
95
|