Pagini recente » Borderou de evaluare (job #2376642) | Borderou de evaluare (job #2137861) | Borderou de evaluare (job #2150001) | Borderou de evaluare (job #1724388) | Borderou de evaluare (job #1660041)
Borderou de evaluare (job #1660041)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(int, int, int, int, int)’:
user.cpp:41:30: warning: unused variable ‘curent’ [-Wunused-variable]
int m=(st+dr)/2; int curent=0;
^
user.cpp: In function ‘int main()’:
user.cpp:49:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.in","r",stdin);
^
user.cpp:50:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.out","w",stdout);
^
user.cpp:52:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&b,&p); pp[0]=1;
^
user.cpp:56:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;i++) scanf("%d",&t[i]);
^
user.cpp:58:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:63:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&tip,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 100 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 16ms | 488kb | OK | 10 |
5 | 44ms | 732kb | OK | 10 |
6 | 220ms | 2092kb | OK | 10 |
7 | 220ms | 2096kb | OK | 10 |
8 | 560ms | 4280kb | OK | 10 |
9 | 568ms | 4280kb | OK | 10 |
10 | 572ms | 4272kb | OK | 10 |
Punctaj total | 100 |