Pagini recente » Borderou de evaluare (job #3355735) | Borderou de evaluare (job #707845) | Borderou de evaluare (job #700500) | Borderou de evaluare (job #2156387) | Borderou de evaluare (job #2300745)
Borderou de evaluare (job #2300745)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:22: warning: self-comparison always evaluates to true [-Wtautological-compare]
if( sumxor^v[i]<=v[i] )
~~~~^~~~~~
main.cpp:34:22: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
main.cpp:42:24: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
if( sumxor^v[i]<=v[i]+v[i-1] )
~~~~^~~~~~~~~~~~~
main.cpp:11:35: 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:12:37: 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:16:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &n );
^
main.cpp:22:25: 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 | 4ms | 131kb | Incorect | 0 |
| 8 | 5ms | 131kb | Incorect | 0 |
| 9 | 5ms | 131kb | Incorect | 0 |
| 10 | 5ms | 131kb | Incorect | 0 |
| 11 | 9ms | 131kb | Incorect | 0 |
| 12 | 12ms | 262kb | Incorect | 0 |
| 13 | 15ms | 262kb | Incorect | 0 |
| 14 | 19ms | 262kb | Incorect | 0 |
| 15 | 22ms | 393kb | Incorect | 0 |
| 16 | 25ms | 393kb | OK | 5 |
| 17 | 28ms | 393kb | Incorect | 0 |
| 18 | 32ms | 524kb | OK | 5 |
| 19 | 33ms | 524kb | Incorect | 0 |
| 20 | 35ms | 524kb | OK | 5 |
| Punctaj total | 30 |