Borderou de evaluare (job #2039721)

Utilizator xkz01X.K.Z. xkz01 Data 14 octombrie 2017 20:25:30
Problema Editor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:32:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (s[i]=='*') ^ user.cpp:34:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (s[i]=='E') ^ user.cpp:23:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); stiva[0]=0; ^ user.cpp: In function ‘int main()’: user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("editor.in","r",stdin); ^ user.cpp:40:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("editor.out","w",stdout); ^ user.cpp:42:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ /tmp/ccMndHXQ.o: In function `solve()': user.cpp:(.text+0xf4): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms260kbOK1040
20ms256kbOK10
30ms260kbOK10
40ms264kbOK10
50ms340kbKilled by signal 6(SIGABRT).00
60ms340kbKilled by signal 6(SIGABRT).00
70ms336kbKilled by signal 6(SIGABRT).00
80ms340kbKilled by signal 6(SIGABRT).00
90ms340kbKilled by signal 6(SIGABRT).00
100ms340kbKilled by signal 6(SIGABRT).00
Punctaj total40

Ceva nu functioneaza?