Borderou de evaluare (job #2372851)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in","r",stdin);
^
main.cpp:31:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.out","w",stdout);
^
main.cpp:32:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:34:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
main.cpp:65:11: warning: 'o' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d",cost(o,i));
~~~~~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | Incorect | 0 |
2 | 3ms | 393kb | OK | 5 |
3 | 3ms | 393kb | OK | 5 |
4 | 3ms | 393kb | Incorect | 0 |
5 | 3ms | 393kb | OK | 5 |
6 | 3ms | 393kb | Incorect | 0 |
7 | 3ms | 393kb | Incorect | 0 |
8 | 4ms | 393kb | OK | 5 |
9 | 4ms | 393kb | Incorect | 0 |
10 | 4ms | 393kb | OK | 5 |
11 | 5ms | 524kb | OK | 5 |
12 | 5ms | 524kb | Incorect | 0 |
13 | 6ms | 524kb | Incorect | 0 |
14 | 7ms | 524kb | Incorect | 0 |
15 | 6ms | 655kb | Incorect | 0 |
16 | 6ms | 524kb | Incorect | 0 |
17 | 8ms | 655kb | Incorect | 0 |
18 | 9ms | 655kb | Incorect | 0 |
19 | 13ms | 917kb | Incorect | 0 |
20 | 17ms | 917kb | Incorect | 0 |
Punctaj total | 30 |