Borderou de evaluare (job #1754529)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 8 septembrie 2016 13:51:28
Problema Propozitie2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:71:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("propozitie2.in", "r", stdin); ^ user.cpp:72:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("propozitie2.out", "w", stdout); ^ user.cpp:75:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp:78:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &M); ^ user.cpp:82:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ /tmp/ccNNftUx.o: In function `main': user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms8268kbOK1010
212ms8268kbOK1010
3116ms8328kbIncorect00
4132ms8280kbIncorect00
5180ms8356kbIncorect00
652ms8696kbOK100
7Depăşit8240kbTime limit exceeded.0
8Depăşit8664kbTime limit exceeded.00
9Depăşit8248kbTime limit exceeded.0
10Depăşit8464kbTime limit exceeded.00
Punctaj total20

Ceva nu functioneaza?