Pagini recente » Borderou de evaluare (job #1680194) | Borderou de evaluare (job #2604937) | Borderou de evaluare (job #1688870) | Borderou de evaluare (job #2785450) | Borderou de evaluare (job #1674601)
Borderou de evaluare (job #1674601)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27: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);
^
user.cpp:28: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);
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); nr=0;
^
user.cpp:34:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x); int y=binary_search1(1,nr,x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 12ms | 388kb | OK | 10 |
4 | 24ms | 532kb | OK | 10 |
5 | 36ms | 628kb | OK | 10 |
6 | 52ms | 732kb | OK | 10 |
7 | 72ms | 996kb | OK | 10 |
8 | 100ms | 1152kb | OK | 10 |
9 | 136ms | 1324kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 100 |