Pagini recente » Borderou de evaluare (job #193001) | Borderou de evaluare (job #995941) | Borderou de evaluare (job #1439898) | Borderou de evaluare (job #2388296) | Borderou de evaluare (job #2167716)
Borderou de evaluare (job #2167716)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28: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:29: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:30: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:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tip);
^
user.cpp:42:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(tip==0) {scanf("%d %d",&a,&b);aib_update(a,b);}
^
user.cpp:43:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else if(tip==1) {scanf("%d %d",&a,&b);printf("%d\n",aib_querry(b)-aib_querry(a-1));}
^
user.cpp:44:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else {scanf("%d",&b);a=aib_cautbin(b);if(aib_querry(a)==b) printf("%d\n",a);else printf("-1\n");}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1268kb | OK | 10 |
2 | 0ms | 1236kb | OK | 10 |
3 | 8ms | 1336kb | OK | 10 |
4 | 32ms | 1324kb | OK | 10 |
5 | 76ms | 1436kb | OK | 10 |
6 | 112ms | 1488kb | OK | 10 |
7 | 116ms | 1564kb | OK | 10 |
8 | 168ms | 1612kb | OK | 10 |
9 | 164ms | 1612kb | OK | 10 |
10 | 164ms | 1740kb | OK | 10 |
Punctaj total | 100 |