Pagini recente » Borderou de evaluare (job #1089267) | Borderou de evaluare (job #1552767) | Borderou de evaluare (job #1765443) | Borderou de evaluare (job #770844) | Borderou de evaluare (job #2083756)
Borderou de evaluare (job #2083756)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:74: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", (((v[n]*1LL*v[n-1])% 1000000007)*1LL*v[n-2])% 1000000007);
^
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("pba.in", "r",stdin);
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pba.out", "w",stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 100 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 272kb | OK | 10 |
6 | 4ms | 304kb | OK | 10 |
7 | 8ms | 368kb | OK | 10 |
8 | 16ms | 416kb | OK | 10 |
9 | 20ms | 460kb | OK | 10 |
10 | 20ms | 456kb | OK | 10 |
Punctaj total | 100 |