Pagini recente » Borderou de evaluare (job #2370301) | F. Fraud | Borderou de evaluare (job #1345213) | Borderou de evaluare (job #1489169) | Borderou de evaluare (job #1853618)
Borderou de evaluare (job #1853618)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:92: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:93:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Upd(i,a[i]);
^
user.cpp:101:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&q);
^
user.cpp:104: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:106: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 | 292kb | OK | 10 | 10 |
| 2 | 0ms | 360kb | OK | 10 | 10 |
| 3 | 308ms | 7500kb | OK | 10 | 10 |
| 4 | 104ms | 3584kb | OK | 10 | 10 |
| 5 | 132ms | 3900kb | OK | 10 | 10 |
| 6 | 136ms | 3908kb | OK | 10 | 10 |
| 7 | 260ms | 7192kb | OK | 10 | 30 |
| 8 | 292ms | 7504kb | OK | 10 |
| 9 | 300ms | 7496kb | OK | 10 |
| 10 | 268ms | 7496kb | OK | 10 | 10 |
| Punctaj total | 100 |