Pagini recente » Borderou de evaluare (job #2125493) | Borderou de evaluare (job #2554491) | Borderou de evaluare (job #367917) | Borderou de evaluare (job #708592) | Borderou de evaluare (job #2080899)
Borderou de evaluare (job #2080899)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.in","r",stdin);
^
user.cpp:41:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.out","w",stdout);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:47:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&x,&y);
^
user.cpp:62:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
swap(v[0],v[poz]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 340kb | Corect | 10 |
2 | 0ms | 344kb | Corect | 10 |
3 | 44ms | 556kb | Corect | 10 |
4 | 44ms | 556kb | Corect | 10 |
5 | 44ms | 560kb | Corect | 10 |
6 | 324ms | 2260kb | Corect | 10 |
7 | 316ms | 2256kb | Corect | 10 |
8 | 324ms | 2256kb | Corect | 10 |
9 | 320ms | 2256kb | Corect | 10 |
10 | 328ms | 2256kb | Corect | 10 |
Punctaj total | 100 |