Pagini recente » Borderou de evaluare (job #2863903) | Borderou de evaluare (job #2857428) | Borderou de evaluare (job #2932612) | Borderou de evaluare (job #1532563) | Borderou de evaluare (job #1241554)
Borderou de evaluare (job #1241554)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:81: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf ("%d\n", ((long long) 1LL*(((long long)1LL*a[n]*a[n-1])%mod)*a[n-2])%mod );
^
user.cpp:11:31: 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:12:33: 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:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 272kb | OK | 10 | 100 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 0ms | 272kb | OK | 10 |
| 6 | 4ms | 304kb | OK | 10 |
| 7 | 8ms | 368kb | OK | 10 |
| 8 | 16ms | 412kb | OK | 10 |
| 9 | 20ms | 460kb | OK | 10 |
| 10 | 20ms | 460kb | OK | 10 |
| Penalizare 1 (pentru 3.8 minute) | -1 |
| Punctaj total | 99 |