Pagini recente » Borderou de evaluare (job #3234101) | Borderou de evaluare (job #2223161) | Borderou de evaluare (job #3230978) | Borderou de evaluare (job #843830) | Borderou de evaluare (job #1665148)
Borderou de evaluare (job #1665148)
Raport evaluator
Compilare:
user.cpp: In function ‘answer query(int, int, int, int, long long int, long long int, long long int)’:
user.cpp:2:24: warning: integer overflow in expression [-Woverflow]
#define inf ((1LL<<63)-1)
^
user.cpp:36:63: note: in expansion of macro ‘inf’
return query(2*node+1,middle+1,right,position,value,0,inf);
^
user.cpp:2:24: warning: integer overflow in expression [-Woverflow]
#define inf ((1LL<<63)-1)
^
user.cpp:41:30: note: in expansion of macro ‘inf’
return {left-1,0,inf};
^
user.cpp:2:24: warning: integer overflow in expression [-Woverflow]
#define inf ((1LL<<63)-1)
^
user.cpp:47:59: note: in expansion of macro ‘inf’
left_answer=query(2*node,left,middle,position,value,0,inf);
^
user.cpp: In function ‘int check(long long int)’:
user.cpp:2:24: warning: integer overflow in expression [-Woverflow]
#define inf ((1LL<<63)-1)
^
user.cpp:55:37: note: in expansion of macro ‘inf’
start=query(1,1,n,start,x,0,inf).position+1;
^
user.cpp: In function ‘void read(long long int&)’:
user.cpp:66:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp:74:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:80:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv4.in","r",stdin);
^
user.cpp:81:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv4.out","w",stdout);
^
user.cpp:84:28: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | OK | 10 |
| 2 | 48ms | 5184kb | OK | 10 |
| 3 | 52ms | 5184kb | OK | 10 |
| 4 | 152ms | 40916kb | OK | 10 |
| 5 | 152ms | 40912kb | OK | 10 |
| 6 | Depăşit | 40908kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 40904kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 40912kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 40912kb | Time limit exceeded. | 0 |
| 10 | 0ms | 240kb | OK | 10 |
| Punctaj total | 60 |