Pagini recente » Borderou de evaluare (job #389632) | Borderou de evaluare (job #248329) | Borderou de evaluare (job #1836025) | Borderou de evaluare (job #1520529) | Borderou de evaluare (job #2417154)
Borderou de evaluare (job #2417154)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:61:27: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
if(v[i]^sumxor<=v[i])
~~~~~~^~~~~~
main.cpp:67:31: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
if(v[i]+v[i-1]>sumxor^v[i])
~~~~~~~~~~~^~~~~~~
main.cpp:43:13: warning: unused variable 'j' [-Wunused-variable]
int n,i,j,k,l,sumxor=0;
^
main.cpp:43:15: warning: unused variable 'k' [-Wunused-variable]
int n,i,j,k,l,sumxor=0;
^
main.cpp:43:17: warning: unused variable 'l' [-Wunused-variable]
int n,i,j,k,l,sumxor=0;
^
main.cpp:44:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("joc3.in","r",stdin);
^
main.cpp:45:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("joc3.out","w",stdout);
^
main.cpp:46:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:49:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | OK | 5 |
3 | 3ms | 131kb | OK | 5 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 4ms | 131kb | Incorect | 0 |
6 | 4ms | 131kb | OK | 5 |
7 | 5ms | 131kb | Incorect | 0 |
8 | 5ms | 131kb | Incorect | 0 |
9 | 5ms | 131kb | Incorect | 0 |
10 | 6ms | 131kb | Incorect | 0 |
11 | 9ms | 262kb | Incorect | 0 |
12 | 12ms | 262kb | Incorect | 0 |
13 | 16ms | 262kb | Incorect | 0 |
14 | 19ms | 393kb | Incorect | 0 |
15 | 24ms | 393kb | Incorect | 0 |
16 | 26ms | 393kb | OK | 5 |
17 | 29ms | 524kb | Incorect | 0 |
18 | 32ms | 524kb | OK | 5 |
19 | 35ms | 524kb | Incorect | 0 |
20 | 36ms | 524kb | OK | 5 |
Punctaj total | 30 |