Borderou de evaluare (job #2141765)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,m,i,j,nr,l1,l2=0,maxx=0;;
^
user.cpp:12:20: warning: unused variable ‘l1’ [-Wunused-variable]
int n,m,i,j,nr,l1,l2=0,maxx=0;;
^
user.cpp:12:23: warning: unused variable ‘l2’ [-Wunused-variable]
int n,m,i,j,nr,l1,l2=0,maxx=0;;
^
user.cpp:13:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d", &n);
^
user.cpp:15:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x[i]);
^
user.cpp:16:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d", &m);
^
user.cpp:18:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3548kb | OK | 10 |
2 | 0ms | 3548kb | OK | 10 |
3 | 24ms | 6116kb | OK | 10 |
4 | 4ms | 3772kb | OK | 10 |
5 | 0ms | 3548kb | OK | 10 |
6 | 20ms | 3736kb | Incorect | 0 |
7 | 40ms | 3936kb | OK | 10 |
8 | 40ms | 3940kb | OK | 10 |
9 | 28ms | 3940kb | OK | 10 |
10 | 0ms | 3552kb | Incorect | 0 |
Punctaj total | 80 |