Pagini recente » Borderou de evaluare (job #2329931) | Borderou de evaluare (job #556701) | Borderou de evaluare (job #657253) | Borderou de evaluare (job #136420) | Borderou de evaluare (job #2571011)
Borderou de evaluare (job #2571011)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:44:24: warning: array subscript has type 'char' [-Wchar-subscripts]
coord.x += dx[d];
^
main.cpp:45:24: warning: array subscript has type 'char' [-Wchar-subscripts]
coord.y += dy[d];
^
main.cpp:67:20: warning: array subscript has type 'char' [-Wchar-subscripts]
val += dy[d] * coord.x;
^
main.cpp:12:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ape.in","r",stdin);
^
main.cpp:13:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ape.out","w",stdout);
^
main.cpp:19:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &P);
^
main.cpp:43:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 3ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 3ms | 131kb | OK | 10 |
10 | 4ms | 131kb | OK | 10 |
Punctaj total | 100 |