Pagini recente » Borderou de evaluare (job #2617180) | Borderou de evaluare (job #1381080) | Borderou de evaluare (job #1725163) | Borderou de evaluare (job #373191) | Borderou de evaluare (job #2642116)
Borderou de evaluare (job #2642116)
Raport evaluator
Compilare:
main.cpp: In function 'void update(int, int, int, int, int)':
main.cpp:13:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
main.cpp:15:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
aint[nod]=max(aint[2*nod],aint[2*nod+1]);
^~~~
main.cpp: In function 'int main()':
main.cpp:31:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in","r",stdin);
^
main.cpp:32:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out","w",stdout);
^
main.cpp:34:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
main.cpp:37:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
main.cpp:43:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&t,&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | OK | 10 | 10 |
| 2 | 12ms | 131kb | OK | 10 | 10 |
| 3 | 16ms | 131kb | OK | 10 | 10 |
| 4 | 46ms | 262kb | OK | 10 | 10 |
| 5 | 82ms | 1310kb | OK | 10 | 10 |
| 6 | 102ms | 1310kb | OK | 10 | 50 |
| 7 | 207ms | 1835kb | OK | 10 |
| 8 | 197ms | 1441kb | OK | 10 |
| 9 | 198ms | 1441kb | OK | 10 |
| 10 | 199ms | 1572kb | OK | 10 |
| Punctaj total | 100 |