Pagini recente » Borderou de evaluare (job #1845727) | Borderou de evaluare (job #247697) | Borderou de evaluare (job #3216048) | Borderou de evaluare (job #705077) | Borderou de evaluare (job #1246102)
Borderou de evaluare (job #1246102)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",1LL*(y*c)-1LL*(g*(int)floor(1.0*c/g*y)));
^
user.cpp:8:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:8:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:10:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 244kb | OK | 10 | 100 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 240kb | OK | 10 |
5 | 0ms | 244kb | OK | 10 |
6 | 0ms | 244kb | OK | 10 |
7 | 8ms | 244kb | OK | 10 |
8 | 12ms | 244kb | OK | 10 |
9 | 16ms | 240kb | OK | 10 |
10 | 16ms | 244kb | OK | 10 |
Punctaj total | 100 |