Pagini recente » Borderou de evaluare (job #1309125) | Borderou de evaluare (job #2789702) | Borderou de evaluare (job #679168) | Borderou de evaluare (job #2612396) | Borderou de evaluare (job #2094061)
Borderou de evaluare (job #2094061)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:32: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf("%f%d%d",&s,&n,&z);
^
user.cpp:15:36: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf("%f",&a[i][j]);
^
user.cpp:7:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cursvalutar.in","r",stdin);
^
user.cpp:8:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cursvalutar.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:11:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f%d%d",&s,&n,&z);
^
user.cpp:15:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 292ms | 508kb | Raspuns gresit! | 0 |
Punctaj total | 0 |