Pagini recente » Borderou de evaluare (job #2934500) | Borderou de evaluare (job #2584187) | Borderou de evaluare (job #57196) | Borderou de evaluare (job #3192524) | Borderou de evaluare (job #1853615)
Borderou de evaluare (job #1853615)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:94:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%d ",&a[i]),
^
user.cpp:86:10: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,key,poz,val;
^
user.cpp:87:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.in","r",stdin);
^
user.cpp:88:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.out","w",stdout);
^
user.cpp:90:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:95:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Upd(i,a[i]);
^
user.cpp:103:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&q);
^
user.cpp:107:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&key,&poz);
^
user.cpp:111:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 296kb | OK | 10 | 10 |
2 | 0ms | 356kb | OK | 10 | 10 |
3 | 312ms | 7500kb | OK | 10 | 10 |
4 | 108ms | 3584kb | OK | 10 | 10 |
5 | 132ms | 3900kb | OK | 10 | 10 |
6 | 136ms | 3904kb | OK | 10 | 10 |
7 | 260ms | 7192kb | OK | 10 | 30 |
8 | 300ms | 7504kb | OK | 10 |
9 | 292ms | 7504kb | OK | 10 |
10 | 272ms | 7504kb | OK | 10 | 10 |
Punctaj total | 100 |