Borderou de evaluare (job #1234529)

Utilizator Sanduleac_VladSanduleac Vllad Alexandru Sanduleac_Vlad Data 27 septembrie 2014 15:19:03
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:102:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld", expr(p)); ^ user.cpp:90:13: warning: unused variable ‘j’ [-Wunused-variable] long i, j; ^ user.cpp:92:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.in", "r", stdin); ^ user.cpp:93:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.out", "w", stdout); ^ user.cpp:94:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:95:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n", &len); ^ user.cpp:96:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sch); ^ /tmp/ccxM4Jqh.o: In function `main': user.cpp:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms260kbIncorect0
3Depăşit228kbTime limit exceeded.0
4Depăşit228kbTime limit exceeded.0
50ms260kbOK10
60ms256kbOK10
70ms260kbOK10
80ms256kbOK10
90ms260kbOK10
100ms260kbOK10
Punctaj total70

Ceva nu functioneaza?