Pagini recente » Borderou de evaluare (job #918093) | Borderou de evaluare (job #1995931) | Borderou de evaluare (job #1998635) | Borderou de evaluare (job #2797730) | Borderou de evaluare (job #1461694)
Borderou de evaluare (job #1461694)
Raport evaluator
Compilare:
user.cpp: In member function ‘long long int Aint::query(int, int)’:
user.cpp:92:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
fordef(i,0,vv.size()-1) sums[i] = all[vv[i]];
^
user.cpp:11:37: note: in definition of macro ‘fordef’
#define fordef(it,a,b) for(it=a;it<=b;it++)
^
user.cpp:93:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
fordef(i,1,vv.size()-1) sums[i] += sums[i-1];
^
user.cpp:11:37: note: in definition of macro ‘fordef’
#define fordef(it,a,b) for(it=a;it<=b;it++)
^
user.cpp:94:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<vv.size();i++)
^
user.cpp:95:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=i+1;j<vv.size();j++)
^
user.cpp: In function ‘int main()’:
user.cpp:112:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxq.in","r",stdin);
^
user.cpp:113:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxq.out","w",stdout);
^
user.cpp:115:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:116:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fordef(i,1,n) scanf("%lld",&v[i]);
^
user.cpp:121:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:123:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&op,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 504kb | OK | 5 |
2 | 4ms | 568kb | OK | 5 |
3 | 8ms | 644kb | OK | 5 |
4 | 12ms | 780kb | OK | 5 |
5 | 332ms | 5060kb | OK | 5 |
6 | 384ms | 9232kb | OK | 5 |
7 | 436ms | 9308kb | OK | 5 |
8 | 460ms | 9348kb | OK | 5 |
9 | 484ms | 9388kb | OK | 5 |
10 | 488ms | 9472kb | OK | 5 |
11 | 372ms | 9232kb | OK | 5 |
12 | 476ms | 9472kb | OK | 5 |
13 | 604ms | 9468kb | OK | 5 |
14 | 656ms | 9624kb | OK | 5 |
15 | 924ms | 18360kb | OK | 5 |
16 | 948ms | 18364kb | OK | 5 |
17 | 972ms | 18364kb | OK | 5 |
18 | 976ms | 18408kb | OK | 5 |
19 | 976ms | 18444kb | OK | 5 |
20 | 980ms | 18436kb | OK | 5 |
Punctaj total | 100 |