Borderou de evaluare (job #1855963)

Utilizator NicusorTelescu Nicolae Nicusor Data 24 ianuarie 2017 13:39:22
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori.in","r",stdin); ^ user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori.out","w",stdout); ^ user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd\n",&n,&m); ^ user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:27:37: warning: ‘tip’ may be used uninitialized in this function [-Wmaybe-uninitialized] else tip=tip*10+s[j]-'0'; ^ /tmp/ccLzmZxp.o: In function `main': user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbIncorect00
20ms268kbIncorect0
30ms264kbOK10
40ms244kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).0
60ms236kbKilled by signal 11(SIGSEGV).00
70ms240kbKilled by signal 11(SIGSEGV).0
80ms264kbIncorect0
90ms264kbIncorect0
100ms264kbOK10
Punctaj total0

Ceva nu functioneaza?