Borderou de evaluare (job #1754528)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 8 septembrie 2016 13:50:54
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/cc7vmCZP.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
212ms8264kbOK1010
3116ms8324kbIncorect00
4128ms8284kbIncorect00
5176ms8352kbIncorect00
648ms8696kbOK100
7Depăşit8244kbTime limit exceeded.0
8Depăşit8660kbTime limit exceeded.00
9Depăşit8248kbTime limit exceeded.0
10Depăşit8468kbTime limit exceeded.00
Punctaj total20

Ceva nu functioneaza?