Pagini recente » Borderou de evaluare (job #1459146) | Borderou de evaluare (job #1275406) | Borderou de evaluare (job #1287911) | Borderou de evaluare (job #2030055) | Borderou de evaluare (job #1244806)
Borderou de evaluare (job #1244806)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:122: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",((((long long)a[n - 1] * (long long)a[n - 2]) % (long long) mod) * (long long) a[n - 3]) % (long long) mod);
^
user.cpp:10:29: 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:11:31: 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:12:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:20: 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 | 432kb | OK | 10 | 100 |
| 2 | 0ms | 432kb | OK | 10 |
| 3 | 0ms | 432kb | OK | 10 |
| 4 | 0ms | 428kb | OK | 10 |
| 5 | 0ms | 440kb | OK | 10 |
| 6 | 4ms | 468kb | OK | 10 |
| 7 | 8ms | 532kb | OK | 10 |
| 8 | 16ms | 580kb | OK | 10 |
| 9 | 20ms | 624kb | OK | 10 |
| 10 | 20ms | 624kb | OK | 10 |
| Punctaj total | 100 |