Borderou de evaluare (job #2133212)
Raport evaluator
Compilare:
user.cpp: In function ‘int eval(int)’:
user.cpp:63:24: warning: unused variable ‘x’ [-Wunused-variable]
int v[11],i,nr,poz,x;
^
user.cpp: In function ‘int main()’:
user.cpp:89:14: warning: unused variable ‘sol’ [-Wunused-variable]
int fi,x,sol;
^
user.cpp:91:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets (s,300,fin); // s e expresia
^
user.cpp:96:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d",&x);
^
user.cpp:106:36: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets (fct[ch-'A'],300,fin);
^
user.cpp: In function ‘int eval(int)’:
user.cpp:79:14: warning: ‘nr’ is used uninitialized in this function [-Wuninitialized]
v[++i]=nr;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 932kb | OK | 10 |
2 | 0ms | 820kb | OK | 10 |
3 | 0ms | 864kb | OK | 10 |
4 | 0ms | 828kb | OK | 10 |
5 | 0ms | 824kb | OK | 10 |
6 | 0ms | 820kb | OK | 10 |
7 | 0ms | 824kb | OK | 10 |
8 | 0ms | 824kb | OK | 10 |
9 | 0ms | 820kb | OK | 10 |
10 | 0ms | 880kb | OK | 10 |
Punctaj total | 100 |