Pagini recente » Borderou de evaluare (job #2626941) | Borderou de evaluare (job #1066053) | Borderou de evaluare (job #3139335) | Borderou de evaluare (job #2619530) | Borderou de evaluare (job #1498733)
Borderou de evaluare (job #1498733)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in","r",stdin);
^
user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out","w",stdout);
^
user.cpp:37:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:40:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:46:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(x==0) {scanf("%d%d",&a,&b);update(a,b);}
^
user.cpp:47:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(x==1) {scanf("%d%d",&a,&b);printf("%d\n",query(b)-query(a-1));}
^
user.cpp:48:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(x==2) {scanf("%d",&a);poz=gaseste_poz(a);if(query(poz)==a) printf("%d\n",poz);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 8ms | 304kb | OK | 10 |
4 | 40ms | 380kb | OK | 10 |
5 | 84ms | 420kb | OK | 10 |
6 | 124ms | 540kb | OK | 10 |
7 | 140ms | 616kb | OK | 10 |
8 | 200ms | 676kb | OK | 10 |
9 | 196ms | 668kb | OK | 10 |
10 | 196ms | 672kb | OK | 10 |
Punctaj total | 100 |