Pagini recente » Borderou de evaluare (job #1008606) | Borderou de evaluare (job #375051) | Borderou de evaluare (job #746144) | Borderou de evaluare (job #2240068) | Borderou de evaluare (job #1533652)
Borderou de evaluare (job #1533652)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
{ scanf("%d%d",&val,&x);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r",stdin);
^
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {scanf("%d",&a[i]);};
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:31:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d%d",&val,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | OK | 10 | 10 |
2 | 0ms | 436kb | OK | 10 | 10 |
3 | 0ms | 436kb | OK | 10 | 10 |
4 | 4ms | 448kb | OK | 10 | 10 |
5 | 24ms | 484kb | OK | 10 | 20 |
6 | 84ms | 640kb | OK | 10 |
7 | 124ms | 824kb | OK | 10 | 40 |
8 | 128ms | 832kb | OK | 10 |
9 | 132ms | 832kb | OK | 10 |
10 | 132ms | 832kb | OK | 10 |
Punctaj total | 100 |