Pagini recente » Borderou de evaluare (job #2951858) | Borderou de evaluare (job #2592772) | Borderou de evaluare (job #419692) | Borderou de evaluare (job #1216009) | Borderou de evaluare (job #2039038)
Borderou de evaluare (job #2039038)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",s[poz]+(n-poz)*(h-1));
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.in","r",stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.out","w",stdout);
^
user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&h);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 8ms | 396kb | OK | 10 |
4 | 20ms | 536kb | OK | 10 |
5 | 32ms | 632kb | OK | 10 |
6 | 44ms | 744kb | OK | 10 |
7 | 60ms | 1004kb | OK | 10 |
8 | 80ms | 1168kb | OK | 10 |
9 | 116ms | 1324kb | OK | 10 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 100 |