Borderou de evaluare (job #1554729)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:8: warning: unused variable ‘k’ [-Wunused-variable]
double k,max;
^
user.cpp:5:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("euro2.in","r",stdin);
^
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("euro2.out","w",stdout);
^
user.cpp:9:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&v[i]);
^
user.cpp:70:25: warning: ‘sw’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d",v1[sw]+v2[sw+1]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 312kb | Corect | 5 |
| 2 | 0ms | 312kb | Raspuns gresit | 0 |
| 3 | 0ms | 316kb | Raspuns gresit | 0 |
| 4 | 0ms | 316kb | Corect | 5 |
| 5 | 0ms | 320kb | Raspuns gresit | 0 |
| 6 | 0ms | 320kb | Raspuns gresit | 0 |
| 7 | 0ms | 328kb | Raspuns gresit | 0 |
| 8 | 0ms | 332kb | Raspuns gresit | 0 |
| 9 | 0ms | 348kb | Raspuns gresit | 0 |
| 10 | 0ms | 360kb | Raspuns gresit | 0 |
| 11 | 0ms | 380kb | Raspuns gresit | 0 |
| 12 | 4ms | 392kb | Raspuns gresit | 0 |
| 13 | 4ms | 428kb | Raspuns gresit | 0 |
| 14 | 4ms | 440kb | Raspuns gresit | 0 |
| 15 | 8ms | 460kb | Raspuns gresit | 0 |
| Punctaj total | 10 |