Borderou de evaluare (job #2029833)

Utilizator vazanIonescu Victor Razvan vazan Data 30 septembrie 2017 15:19:45
Problema Monezi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp:43:5: warning: "/*" within comment [-Wcomment] /*for(int i = 0; i <= s; i++) ^ user.cpp: In function ‘int main()’: user.cpp:61:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("monezi.in", "r", stdin); ^ user.cpp:62:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("monezi.out", "w", stdout); ^ user.cpp:63:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &s); ^ user.cpp:70:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &vals[i]); ^ user.cpp: In function ‘void bkt(int)’: user.cpp:28:22: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized] poz = pozcr - (1 << l); ^ user.cpp:22:9: note: ‘l’ was declared here int l, poz = 0, pozcr = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1572ms8968kbOK10
2Depăşit8932kbTime limit exceeded.0
3Depăşit8972kbTime limit exceeded.0
4Depăşit8952kbTime limit exceeded.0
516ms8972kbOK10
616ms8964kbOK10
716ms8972kbIncorect0
816ms8964kbOK10
912ms8968kbOK10
1012ms8968kbOK10
Punctaj total60

Ceva nu functioneaza?