Pagini recente » Borderou de evaluare (job #1658254) | Borderou de evaluare (job #2066374) | Borderou de evaluare (job #1611422) | Borderou de evaluare (job #1928470) | Borderou de evaluare (job #2417150)
Borderou de evaluare (job #2417150)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:67:27: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
if(v[i]^sumxor<v[i] && j==k)
~~~~~~^~~~~
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 | OK | 5 |
| 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 | OK | 5 |
| 11 | 9ms | 262kb | OK | 5 |
| 12 | 13ms | 262kb | OK | 5 |
| 13 | 16ms | 262kb | Incorect | 0 |
| 14 | 19ms | 393kb | Incorect | 0 |
| 15 | 23ms | 393kb | OK | 5 |
| 16 | 26ms | 393kb | OK | 5 |
| 17 | 29ms | 524kb | Incorect | 0 |
| 18 | 32ms | 524kb | Incorect | 0 |
| 19 | 34ms | 524kb | OK | 5 |
| 20 | 36ms | 524kb | OK | 5 |
| Punctaj total | 55 |