Pagini recente » Borderou de evaluare (job #1600440) | Borderou de evaluare (job #2739256) | Borderou de evaluare (job #1214075) | Borderou de evaluare (job #2405272) | Borderou de evaluare (job #2248112)
Borderou de evaluare (job #2248112)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&noNote , &prec );
^
user.cpp:26:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unter.in","r",stdin);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unter.out","w",stdout);
^
user.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&noCases);
^
user.cpp:26:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&noNote , &prec );
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&temp );
^
user.cpp:44:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&temp );
^
user.cpp:53:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&temp );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 164ms | 1316kb | Incorect | 0 |
Punctaj total | 0 |