Borderou de evaluare (job #1210324)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int DetSquareQuarter(unsigned int, short unsigned int, unsigned int, unsigned int)’:
user.cpp:20:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x <= (1 << (k - 1)) && y <= (1 << (k - 1)))
^
user.cpp:20:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x <= (1 << (k - 1)) && y <= (1 << (k - 1)))
^
user.cpp:22:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (y <= (1 << (k - 1)))
^
user.cpp:24:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x>(1 << (k - 1)) && y>(1 << (k - 1)))
^
user.cpp:24:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x>(1 << (k - 1)) && y>(1 << (k - 1)))
^
user.cpp: In function ‘int main()’:
user.cpp:34:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d %d %d", &k, &y, &x);
^
user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fractal.in", "r", stdin);
^
user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fractal.out", "w", stdout);
^
user.cpp:34:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &k, &y, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | Ok! | 10 |
2 | 0ms | 424kb | Ok! | 10 |
3 | 0ms | 424kb | Ok! | 10 |
4 | 0ms | 428kb | Ok! | 10 |
5 | 0ms | 424kb | Ok! | 10 |
6 | 0ms | 424kb | Ok! | 10 |
7 | 0ms | 428kb | Ok! | 10 |
8 | 0ms | 432kb | Ok! | 10 |
9 | 0ms | 432kb | Ok! | 10 |
10 | 0ms | 424kb | Ok! | 10 |
Punctaj total | 100 |