Pagini recente » Borderou de evaluare (job #3254360) | Borderou de evaluare (job #315243) | Borderou de evaluare (job #1544581) | Borderou de evaluare (job #2611126) | Borderou de evaluare (job #2182763)
Borderou de evaluare (job #2182763)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:15: warning: unused variable ‘j’ [-Wunused-variable]
int x,n,i,j,m,help;
^
user.cpp:30: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:31: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:33: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:36:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:45:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&c,&x1);
^
user.cpp:46:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(c==0) {scanf("%d",&x2); update(x1,x2,n);}
^
user.cpp:47:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else if(c==1) { scanf("%d",&x2); printf("%d\n",query(x2)-query(x1-1)); }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1340kb | OK | 10 |
2 | 0ms | 1248kb | OK | 10 |
3 | 8ms | 1352kb | OK | 10 |
4 | 36ms | 1424kb | OK | 10 |
5 | 76ms | 1616kb | OK | 10 |
6 | 120ms | 1820kb | OK | 10 |
7 | 128ms | 1976kb | OK | 10 |
8 | 192ms | 2004kb | OK | 10 |
9 | 192ms | 2012kb | OK | 10 |
10 | 192ms | 2088kb | OK | 10 |
Punctaj total | 100 |