Pagini recente » Borderou de evaluare (job #147823) | Borderou de evaluare (job #369540) | Borderou de evaluare (job #2953376) | Borderou de evaluare (job #1632248) | Borderou de evaluare (job #1786551)
Borderou de evaluare (job #1786551)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:37:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",rez[i]);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:26: 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 |
1 | 12ms | 744kb | Incorect | 0 |
2 | 36ms | 1840kb | Incorect | 0 |
3 | 112ms | 4684kb | Incorect | 0 |
4 | 240ms | 8076kb | Incorect | 0 |
5 | 32ms | 1524kb | Incorect | 0 |
6 | 24ms | 1056kb | Incorect | 0 |
7 | 24ms | 1680kb | OK | 10 |
8 | 0ms | 348kb | Incorect | 0 |
9 | 0ms | 340kb | OK | 10 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 30 |