Pagini recente » Borderou de evaluare (job #1513742) | Borderou de evaluare (job #1765421) | Borderou de evaluare (job #1390054) | Borderou de evaluare (job #1791719) | Borderou de evaluare (job #2670373)
Borderou de evaluare (job #2670373)
Raport evaluator
Compilare:
main.cpp: In function 'int cautbin(int)':
main.cpp:7:9: warning: unused variable 'mij' [-Wunused-variable]
int mij,poz=0,st=1,dr=n;
^~~
main.cpp: In function 'int main()':
main.cpp:28:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.in","r",stdin);
^
main.cpp:29:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.out","w",stdout);
^
main.cpp:30:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:34:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
main.cpp:36:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
main.cpp:43:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 10 |
| 2 | 5ms | 131kb | OK | 10 |
| 3 | 18ms | 262kb | OK | 10 |
| 4 | 35ms | 524kb | OK | 10 |
| 5 | 49ms | 655kb | OK | 10 |
| 6 | 68ms | 786kb | OK | 10 |
| 7 | 91ms | 1179kb | OK | 10 |
| 8 | 119ms | 1441kb | OK | 10 |
| 9 | 163ms | 1966kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |