Borderou de evaluare (job #1210323)

Utilizator Kerriganamihut Kerrigan Data 19 iulie 2014 16:59:09
Problema Fractal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

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
10ms428kbOk!10
2Depăşit408kbTime limit exceeded.0
3Depăşit408kbTime limit exceeded.0
4Depăşit392kbTime limit exceeded.0
50ms432kbWrong answer!0
6Depăşit392kbTime limit exceeded.0
7Depăşit396kbTime limit exceeded.0
80ms428kbOk!10
9Depăşit436kbTime limit exceeded.0
108ms8576kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?