Borderou de evaluare (job #1210324)

Utilizator Kerriganamihut Kerrigan Data 19 iulie 2014 17:00:41
Problema Fractal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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
10ms432kbOk!10
20ms424kbOk!10
30ms424kbOk!10
40ms428kbOk!10
50ms424kbOk!10
60ms424kbOk!10
70ms428kbOk!10
80ms432kbOk!10
90ms432kbOk!10
100ms424kbOk!10
Punctaj total100

Ceva nu functioneaza?