Pagini recente » Borderou de evaluare (job #2748858) | Borderou de evaluare (job #2132435) | Borderou de evaluare (job #1739868) | Borderou de evaluare (job #1483203) | Borderou de evaluare (job #1870585)
Borderou de evaluare (job #1870585)
Raport evaluator
Compilare:
user.cpp: In function ‘void afis()’:
user.cpp:16:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",inm[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:30:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f1,"%d",&d[i]);
^
user.cpp:3:16: warning: left shift count >= width of type [enabled by default]
#define inf 1<<60
^
user.cpp:38:25: note: in expansion of macro ‘inf’
inm[i][i+l]=inf;
^
user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(f2,"%d ",inm[1][n]);
^
user.cpp:28:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&n);
^
user.cpp:30:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&d[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 0ms | 300kb | Incorect | 0 |
4 | 0ms | 340kb | Incorect | 0 |
5 | 0ms | 360kb | Incorect | 0 |
6 | 0ms | 460kb | Incorect | 0 |
7 | 8ms | 660kb | Incorect | 0 |
8 | 28ms | 856kb | Incorect | 0 |
9 | 84ms | 1052kb | Incorect | 0 |
10 | 168ms | 1256kb | Incorect | 0 |
Punctaj total | 0 |