Borderou de evaluare (job #1826351)

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

Raport evaluator

Compilare: user.cpp: In function ‘void editString()’: user.cpp:169:9: warning: unused variable ‘i’ [-Wunused-variable] int i, op; ^ user.cpp: In function ‘int operators(int)’: user.cpp:134:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void solve()’: user.cpp:214: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:222: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:232: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:214: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
10ms256kbOK10
20ms260kbOK10
30ms260kbOK10
40ms260kbOK10
50ms260kbOK10
60ms260kbOK10
70ms264kbOK10
80ms260kbOK10
90ms260kbOK10
100ms264kbOK10
Punctaj total100

Ceva nu functioneaza?