Pagini recente » Borderou de evaluare (job #2084413) | Borderou de evaluare (job #524263) | Borderou de evaluare (job #1331662) | Borderou de evaluare (job #532986) | Borderou de evaluare (job #1564437)
Borderou de evaluare (job #1564437)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:22: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%hd",&n);
^
user.cpp:17:9: warning: unused variable ‘f1’ [-Wunused-variable]
int f1[1001]={1,1},f2[1001]={1,1},f3[1001]={0},n,i;
^
user.cpp:17:24: warning: unused variable ‘f2’ [-Wunused-variable]
int f1[1001]={1,1},f2[1001]={1,1},f3[1001]={0},n,i;
^
user.cpp:17:39: warning: unused variable ‘f3’ [-Wunused-variable]
int f1[1001]={1,1},f2[1001]={1,1},f3[1001]={0},n,i;
^
user.cpp:17:54: warning: unused variable ‘i’ [-Wunused-variable]
int f1[1001]={1,1},f2[1001]={1,1},f3[1001]={0},n,i;
^
user.cpp:18:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%hd",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 228kb | Incorect | 0 |
2 | 0ms | 224kb | Incorect | 0 |
3 | 0ms | 228kb | Incorect | 0 |
4 | 0ms | 224kb | Incorect | 0 |
5 | 0ms | 224kb | Incorect | 0 |
6 | 0ms | 220kb | Incorect | 0 |
7 | 0ms | 220kb | Incorect | 0 |
8 | 0ms | 224kb | Incorect | 0 |
9 | 0ms | 224kb | Incorect | 0 |
10 | 0ms | 224kb | Incorect | 0 |
Punctaj total | 0 |