Borderou de evaluare (job #1830141)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 16 decembrie 2016 11:34:35
Problema Xreverse Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void input()’: user.cpp:64:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] scanf("%d %d %d", &n, &k, &mod); ^ user.cpp:64:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp: In function ‘void solve()’: user.cpp:77:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (n & (1 << i)) ^ user.cpp: In function ‘void input()’: user.cpp:64:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &k, &mod); ^ user.cpp: In function ‘int main()’: user.cpp:88:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("xreverse.in","r",stdin); ^ user.cpp:89:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("xreverse.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbKilled by signal 8(SIGFPE).0
20ms248kbKilled by signal 8(SIGFPE).0
30ms248kbKilled by signal 8(SIGFPE).0
40ms248kbKilled by signal 8(SIGFPE).0
50ms252kbKilled by signal 8(SIGFPE).0
60ms244kbKilled by signal 8(SIGFPE).0
70ms244kbKilled by signal 8(SIGFPE).0
80ms244kbKilled by signal 8(SIGFPE).0
90ms252kbKilled by signal 8(SIGFPE).0
100ms248kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?