Pagini recente » Borderou de evaluare (job #108207) | Borderou de evaluare (job #255280) | Borderou de evaluare (job #895773) | Borderou de evaluare (job #2114196) | Borderou de evaluare (job #2114162)
Borderou de evaluare (job #2114162)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", 1LL * v[n] * v[n - 1] % 1000000007 * v[n - 2] % 1000000007);
^
user.cpp:9:34: 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:10:36: 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:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15: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 | 272kb | OK | 10 | 100 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 4ms | 308kb | OK | 10 |
| 7 | 8ms | 372kb | OK | 10 |
| 8 | 16ms | 416kb | OK | 10 |
| 9 | 20ms | 464kb | OK | 10 |
| 10 | 20ms | 456kb | OK | 10 |
| Punctaj total | 100 |