Borderou de evaluare (job #1596911)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 11 februarie 2016 15:06:17
Problema Pluton Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:83:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ", soldat[i].lant); ^ user.cpp:61:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pluton.in","r",stdin); ^ user.cpp:62:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pluton.out","w",stdout); ^ user.cpp:63:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:68:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms648kbNumar incorect de plutoane!00
20ms640kbNumar incorect de plutoane!0
30ms648kbOk!10
40ms640kbOk!10
50ms648kbOk!10
68ms644kbOk!100
728ms648kbNumar incorect de plutoane!0
836ms644kbOk!10
912ms644kbNumar incorect de plutoane!0
100ms644kbNumar incorect de plutoane!0
Punctaj total0

Ceva nu functioneaza?