Borderou de evaluare (job #1826339)

Utilizator Coroian_DavidCoroian David Coroian_David Data 10 decembrie 2016 12:46:53
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void editString()’: user.cpp:175:9: warning: unused variable ‘i’ [-Wunused-variable] int i, op; ^ user.cpp: In function ‘int operators(int)’: user.cpp:140:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void solve()’: user.cpp:220:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 1005, f); ^ user.cpp:228:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &n); ^ user.cpp:238:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%c", &chr); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void solve()’ at user.cpp:220:22: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms260kbOK10
30ms260kbOK10
40ms264kbOK10
50ms288kbKilled by signal 6(SIGABRT).0
60ms292kbKilled by signal 6(SIGABRT).0
70ms288kbKilled by signal 6(SIGABRT).0
80ms288kbKilled by signal 6(SIGABRT).0
90ms288kbKilled by signal 6(SIGABRT).0
100ms288kbKilled by signal 6(SIGABRT).0
Punctaj total40

Ceva nu functioneaza?