Pentru această operație este nevoie să te autentifici.
Borderou de evaluare (job #585396)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ruine | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 mar. 2021 18:17:25 | Scor | 10 |
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
11 | freopen("ruine.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:12:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
12 | freopen("ruine.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:14:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | scanf("%d%d",&n,&q);
| ~~~~~^~~~~~~~~~~~~~
main.cpp:17:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf("%d",&x);
| ~~~~~^~~~~~~~~
main.cpp:24:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
24 | scanf("\n%c %d",&ch,&x);
| ~~~~~^~~~~~~~~~~~~~~~~~
Test | Timp execuție | Memorie folosită | Mesaj | Punctaj/test |
---|---|---|---|---|
1 | 1 ms | 262 kb | Incorect | 0 |
2 | 1 ms | 393 kb | Incorect | 0 |
3 | 1 ms | 262 kb | Incorect | 0 |
4 | 8 ms | 524 kb | Incorect | 0 |
5 | 70 ms | 1691 kb | OK | 10 |
6 | 77 ms | 1957 kb | Incorect | 0 |
7 | 103 ms | 2351 kb | Incorect | 0 |
8 | 128 ms | 3006 kb | Incorect | 0 |
9 | 208 ms | 4579 kb | Time limit exceeded | 0 |
10 | 203 ms | 4567 kb | Time limit exceeded | 0 |
Punctaj total | 10 |