Pagini recente » Borderou de evaluare (job #106382) | Borderou de evaluare (job #1930679) | Borderou de evaluare (job #3286934) | Borderou de evaluare (job #1659371) | Borderou de evaluare (job #2260304)
Borderou de evaluare (job #2260304)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:6:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.in","r",stdin);
^
main.cpp:7:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.out","w",stdout);
^
main.cpp:9:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&k);
^
main.cpp:11:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&v[i]);
^
main.cpp:25:18: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i>1&&c>dif)
~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 131kb | OK | 10 |
2 | 4ms | 131kb | OK | 10 |
3 | 7ms | 131kb | OK | 10 |
4 | 10ms | 262kb | OK | 10 |
5 | 10ms | 262kb | OK | 10 |
6 | 16ms | 290kb | OK | 10 |
7 | 25ms | 417kb | OK | 10 |
8 | 20ms | 417kb | OK | 10 |
9 | 34ms | 540kb | OK | 10 |
10 | 35ms | 544kb | OK | 10 |
Punctaj total | 100 |